Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _mesa_ExecuteProgramNV is now a no-op | Brian | 2007-02-22 | 1 | -2/+1 |
| | |||||
* | added CallStack, StackDepth | Brian | 2007-02-22 | 1 | -0/+3 |
| | |||||
* | remove unneeded #includes, misc clean-up | Brian | 2007-02-22 | 1 | -21/+13 |
| | |||||
* | reorg/clean-up/indent | Brian | 2007-02-22 | 1 | -413/+471 |
| | |||||
* | start implementing conditions, branching | Brian | 2007-02-22 | 2 | -2/+123 |
| | |||||
* | get rid of some unused slang_variable fields | Brian | 2007-02-22 | 4 | -12/+3 |
| | |||||
* | Replace slang_allocate_storage() with simpler _slang_attach_storage() | Brian | 2007-02-22 | 1 | -73/+31 |
| | |||||
* | updated debug code | Brian | 2007-02-22 | 1 | -210/+18 |
| | |||||
* | Undo some STATE_POINT/FOG changes. Max length of state token array is now 5. | Brian | 2007-02-22 | 6 | -64/+46 |
| | |||||
* | merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED | Brian | 2007-02-22 | 1 | -0/+2 |
| | |||||
* | fix negative indentation problem | Brian | 2007-02-22 | 1 | -2/+1 |
| | |||||
* | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-02-22 | 2 | -57/+33 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -50/+31 |
| | | | | | | | | | | | | | | 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) | ||||
| * | optimize generated vertex programs a bit | Roland Scheidegger | 2007-02-09 | 3 | -1/+33 |
| | | | | | | | | | | | | | | | | Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested... | ||||
| * | fixes for C++ warnings/errors | Brian | 2007-01-23 | 3 | -4/+4 |
| | | |||||
| * | mesa: Update _Current along Current on fragment program bound. | Jerome Glisse | 2007-01-15 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Same as a previously committed patch for vertex program, we update fragment program ptr _Current along the Current one so that _Current can't end up pointing to a no more valid program. | ||||
| * | mesa: Update _Current ptr along Current when a new vertex program is bind. | Jerome Glisse | 2007-01-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | On new vertex program bind only the Current ptr where updated to point to the new program; this could lead to _Current pointing to and out of date or even a no more existing program which in turn could lead to a segfault in some driver. To avoid this _Current ptr is updated along Current if _Current where previously pointing to the same program. | ||||
| * | Replace __extension__ with LONGSTRING. | Brian | 2006-12-14 | 1 | -1/+1 |
| | | |||||
* | | disable debug | Brian | 2007-02-21 | 1 | -1/+1 |
| | | |||||
* | | remove unneeded #includes | Brian | 2007-02-21 | 1 | -5/+0 |
| | | |||||
* | | fix copy&paste errors | Brian | 2007-02-21 | 1 | -4/+5 |
| | | |||||
* | | more minor changes to STATE_ indexing | Brian | 2007-02-21 | 3 | -46/+69 |
| | | |||||
* | | remove dead code | Brian | 2007-02-21 | 1 | -18/+2 |
| | | |||||
* | | Reimplement the _slang_alloc_statevar() function. | Brian | 2007-02-21 | 2 | -335/+274 |
| | | | | | | | | | | | | After several tries at making a table-based system for examining pre-defined uniforms to find statevar indexes, give up and do it the simple way (lots of strcmp() calls). Not terribly elegant, but perfectly functional. | ||||
* | | adjustments to STATE_ token layout/format so token[1] is always the array index | Brian | 2007-02-21 | 6 | -111/+151 |
| | | |||||
* | | checkpoint overhaul of pre-defined uniform code | Brian | 2007-02-21 | 4 | -12/+217 |
| | | |||||
* | | clean-up, move IR_ELEMENT code | Brian | 2007-02-20 | 1 | -30/+36 |
| | | |||||
* | | alloc IR_FIELD's Storage in codegen, like IR_ELEMENT | Brian | 2007-02-20 | 2 | -4/+9 |
| | | |||||
* | | work on struct/array handling | Brian | 2007-02-20 | 1 | -14/+17 |
| | | |||||
* | | forgot to return length in parse_array_len() | Brian | 2007-02-20 | 1 | -0/+2 |
| | | |||||
* | | implement support for pre-defined uniform structs (state vars) | Brian | 2007-02-20 | 4 | -64/+327 |
| | | |||||
* | | added SWIZZLE_XXXX, SWIZZLE_YYYY, etc | Brian | 2007-02-20 | 1 | -0/+5 |
| | | |||||
* | | Merge branch 'glsl-compiler-1' of ↵ | Brian | 2007-02-20 | 29 | -1601/+2070 |
|\ \ | | | | | | | | | | git+ssh://[email protected]/git/mesa/mesa into glsl-compiler-1 | ||||
| * | | s/PROG_PRINT_ARB/PROG_PRINT_DEBUG/ | Brian | 2007-02-17 | 1 | -1/+1 |
| | | | |||||
| * | | Lots of changes to prog_print.c code. | Brian | 2007-02-17 | 2 | -43/+333 |
| | | | | | | | | | | | | Mainly, allow printing programs in either ARB, NV or "debug" formats. | ||||
| * | | remove dead code | Brian | 2007-02-16 | 1 | -21/+0 |
| | | | |||||
| * | | s/_slang_link2/_slang_link/ | Brian | 2007-02-16 | 3 | -9/+9 |
| | | | |||||
| * | | change all enum tokens to uppercase | Brian | 2007-02-16 | 16 | -817/+819 |
| | | | |||||
| * | | abort upon errors (temporary) | Brian | 2007-02-16 | 1 | -1/+4 |
| | | | |||||
| * | | added a comment | Brian | 2007-02-16 | 1 | -0/+3 |
| | | | |||||
| * | | Allow int->float argument conversion in _slang_locate_function(). | Brian | 2007-02-16 | 1 | -7/+37 |
| | | | |||||
| * | | implement IR_I_TO_F | Brian | 2007-02-16 | 1 | -1/+6 |
| | | | |||||
| * | | remove dead code | Brian | 2007-02-13 | 1 | -3/+3 |
| | | | |||||
| * | | move GL_MESA_program_debug funcs to prog_debug.c | Brian | 2007-02-09 | 2 | -261/+6 |
| | | | |||||
| * | | Move experimental GL_MESA_program_debug functions into new file. | Brian | 2007-02-09 | 2 | -0/+309 |
| | | | |||||
| * | | comments, etc | Brian | 2007-02-09 | 1 | -3/+19 |
| | | | |||||
| * | | re-enable free'ing of IR trees | Brian | 2007-02-09 | 1 | -1/+1 |
| | | | |||||
| * | | always init param vars to silence valgrind warnings | Brian | 2007-02-09 | 1 | -0/+4 |
| | | | |||||
| * | | do full swizzled matching in _mesa_lookup_parameter_constant() | Brian | 2007-02-08 | 1 | -5/+16 |
| | | | |||||
| * | | Check for constant-valued while/do loop conditions. | Brian | 2007-02-08 | 1 | -8/+58 |
| | | | | | | | | | | | | | | | | | | | | | Allows us to: 1. avoid generating constant-valued BRK test for while(1).. 2. discard entire loop for while(0). 3. detection infinite loops at compile-time. |