Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: new _mesa_remove_varying_reads() function | Brian | 2008-04-07 | 1 | -2/+94 |
| | | | | | | | | 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. | ||||
* | clean-up swizzle fields in fog code, fix NegateBase | Brian | 2008-01-16 | 1 | -11/+10 |
| | |||||
* | need to clamp MAD for linear fog | Brian | 2007-04-16 | 1 | -0/+1 |
| | |||||
* | use _mesa_copy_instructions() | Brian | 2007-03-22 | 1 | -2/+1 |
| | |||||
* | merge from master | Brian | 2007-03-21 | 1 | -2/+1 |
|\ | |||||
| * | Use _mesa_copy_instructions rather than memcpy in _mesa_insert_mvp_code. | Oliver McFadden | 2007-03-18 | 1 | -2/+1 |
| | | |||||
* | | replace GLint with gl_state_index | Brian | 2007-02-23 | 1 | -3/+3 |
| | | |||||
* | | Undo some STATE_POINT/FOG changes. Max length of state token array is now 5. | Brian | 2007-02-22 | 1 | -4/+5 |
| | | |||||
* | | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-02-22 | 1 | -55/+31 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c | ||||
| * | optimize per-pixel fog program | Roland Scheidegger | 2007-02-09 | 1 | -49/+30 |
| | | | | | | | | | | | | | | use the same internal state as for vertex fog. From the old implemenentation, this changes a SUB+MUL into a MAD for linear fog, and saves a MUL for EXP/EXP2, plus saves a (constant) parameter. While here, fix the broken (forgotten) swizzling. (untested) | ||||
* | | adjustments to STATE_ token layout/format so token[1] is always the array index | Brian | 2007-02-21 | 1 | -6/+8 |
| | | |||||
* | | added _mesa_count_texture_indirections(), _mesa_count_texture_instructions() | Brian | 2007-01-09 | 1 | -2/+84 |
| | | |||||
* | | remove some unneeded includes | Brian | 2006-12-14 | 1 | -3/+0 |
| | | |||||
* | | Updated includes. | Brian | 2006-12-14 | 1 | -1/+3 |
| | | |||||
* | | Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes. | Brian | 2006-12-13 | 1 | -1/+4 |
|/ | |||||
* | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | 2006-11-15 | 1 | -1/+1 |
| | | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | ||||
* | fix wrong inequality | Brian Paul | 2006-10-29 | 1 | -1/+1 |
| | |||||
* | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | 2006-10-29 | 1 | -3/+2 |
| | |||||
* | Implement _mesa_append_fog_code() for fragment program fog options. | Brian Paul | 2006-10-28 | 1 | -18/+177 |
| | |||||
* | Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code(). | Brian Paul | 2006-08-25 | 1 | -22/+23 |
| | | | | | 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 Paul | 2006-08-24 | 1 | -0/+146 |