summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_execute.h
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate texture fetch code and use partial derivatives when possible.Brian Paul2008-05-141-1/+2
| | | | picked from master
* fix type for Samplers fieldBrian2007-10-311-1/+1
|
* Re-implement GLSL texture sampler variables.Brian2007-10-261-0/+2
| | | | | | | | | | GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
* Resuscitate some of the DDX,DDY code.Brian2007-05-021-0/+3
| | | | | Only works for program input registers at this time. Good enough for the common case of texcoords, though.
* define and use MAX_PROGRAM_ADDRESS_REGSBrian2007-02-251-1/+1
|
* Add EnvParams field to gl_program_machine, avoid passing ctx to a bunch of ↵Brian2007-02-251-1/+1
| | | | functions.
* remove 'maxInst' parameter from _mesa_execute_program()Brian2007-02-251-1/+1
|
* remove unused 'element' parameter from _mesa_execute_program()Brian2007-02-251-1/+1
|
* Outputs[] array wasn't large enough, define MAX_PROGRAM_OUTPUTS, new assertions.Brian2007-02-241-1/+5
|
* New, unified interpretor/executor for vertex and fragment programs.Brian2007-02-221-0/+77
This replaces the code formerly in nvvertexec.c and s_fragprog.c. Currently, DDX, DDY don't work.