summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/programopt.h
Commit message (Collapse)AuthorAgeFilesLines
* glsl: make sure we replace all output reads with temporariesZack Rusin2008-06-121-1/+1
| | | | test in if.glsl
* mesa: new _mesa_remove_varying_reads() functionBrian2008-04-071-0/+2
| | | | | | | | We'll apply this function to GLSL vertex programs. In GLSL it's legal to read and write varying (output) vars in a vertex shader. But reading from an output register isn't supported by all hardware. This routine examines the vertex program for that condition and rewrites it to use temporary registers where needed.
* added _mesa_count_texture_indirections(), _mesa_count_texture_instructions()Brian2007-01-091-2/+8
|
* Implement _mesa_append_fog_code() for fragment program fog options.Brian Paul2006-10-281-1/+1
|
* Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code().Brian Paul2006-08-251-1/+1
| | | | | The four DP4 instructions are now inserted at the top of the program instead of appended to tail.
* Functions for vertex/fragment program transformations, optimizations, etc.Brian Paul2006-08-241-0/+37