summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_execute.h
AgeCommit message (Collapse)Author
2007-10-31fix type for Samplers fieldBrian
2007-10-26Re-implement GLSL texture sampler variables.Brian
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.
2007-05-02Resuscitate some of the DDX,DDY code.Brian
Only works for program input registers at this time. Good enough for the common case of texcoords, though.
2007-02-25define and use MAX_PROGRAM_ADDRESS_REGSBrian
2007-02-25Add EnvParams field to gl_program_machine, avoid passing ctx to a bunch of ↵Brian
functions.
2007-02-25remove 'maxInst' parameter from _mesa_execute_program()Brian
2007-02-25remove unused 'element' parameter from _mesa_execute_program()Brian
2007-02-24Outputs[] array wasn't large enough, define MAX_PROGRAM_OUTPUTS, new assertions.Brian
2007-02-22New, unified interpretor/executor for vertex and fragment programs.Brian
This replaces the code formerly in nvvertexec.c and s_fragprog.c. Currently, DDX, DDY don't work.