summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_execute.h
AgeCommit message (Collapse)Author
2008-05-14Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch
2007-11-23Consolidate texture fetch code and use partial derivatives when possible.Brian
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.