Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-22 | Merge branch 'origin' into glsl-compiler-1 | Brian | |
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 | |||
2007-02-21 | disable debug | Brian | |
2007-02-21 | remove unneeded #includes | Brian | |
2007-02-21 | fix copy&paste errors | Brian | |
2007-02-21 | more minor changes to STATE_ indexing | Brian | |
2007-02-21 | remove dead code | Brian | |
2007-02-21 | Reimplement the _slang_alloc_statevar() function. | Brian | |
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. | |||
2007-02-21 | adjustments to STATE_ token layout/format so token[1] is always the array index | Brian | |
2007-02-21 | checkpoint overhaul of pre-defined uniform code | Brian | |
2007-02-20 | clean-up, move IR_ELEMENT code | Brian | |
2007-02-20 | alloc IR_FIELD's Storage in codegen, like IR_ELEMENT | Brian | |
2007-02-20 | work on struct/array handling | Brian | |
2007-02-20 | forgot to return length in parse_array_len() | Brian | |
2007-02-20 | implement support for pre-defined uniform structs (state vars) | Brian | |
2007-02-20 | added SWIZZLE_XXXX, SWIZZLE_YYYY, etc | Brian | |
2007-02-20 | Merge branch 'glsl-compiler-1' of ↵ | Brian | |
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1 | |||
2007-02-17 | s/PROG_PRINT_ARB/PROG_PRINT_DEBUG/ | Brian | |
2007-02-17 | Lots of changes to prog_print.c code. | Brian | |
Mainly, allow printing programs in either ARB, NV or "debug" formats. | |||
2007-02-16 | remove dead code | Brian | |
2007-02-16 | s/_slang_link2/_slang_link/ | Brian | |
2007-02-16 | change all enum tokens to uppercase | Brian | |
2007-02-16 | abort upon errors (temporary) | Brian | |
2007-02-16 | added a comment | Brian | |
2007-02-16 | Allow int->float argument conversion in _slang_locate_function(). | Brian | |
2007-02-16 | implement IR_I_TO_F | Brian | |
2007-02-13 | remove dead code | Brian | |
2007-02-09 | move GL_MESA_program_debug funcs to prog_debug.c | Brian | |
2007-02-09 | Move experimental GL_MESA_program_debug functions into new file. | Brian | |
2007-02-09 | comments, etc | Brian | |
2007-02-09 | re-enable free'ing of IR trees | Brian | |
2007-02-09 | always init param vars to silence valgrind warnings | Brian | |
2007-02-09 | optimize per-pixel fog program | Roland Scheidegger | |
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) | |||
2007-02-08 | do full swizzled matching in _mesa_lookup_parameter_constant() | Brian | |
2007-02-08 | Check for constant-valued while/do loop conditions. | Brian | |
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. | |||
2007-02-08 | optimize conditional breaks/continues | Brian | |
2007-02-09 | optimize generated vertex programs a bit | Roland Scheidegger | |
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... | |||
2007-02-08 | cont at top of loop, little clean-ups | Brian | |
2007-02-08 | remove some cruft | Brian | |
2007-02-08 | fix broken BRA for return stmts | Brian | |
2007-02-08 | change BranchTarget to GLint | Brian | |
2007-02-08 | Use conditional break in for/do/while loops. | Brian | |
2007-02-07 | remove old loop break/cont stuff | Brian | |
2007-02-07 | high vs. low level if/then/else code emit | Brian | |
2007-02-07 | s/%f/%g/ | Brian | |
2007-02-07 | Remove old functions for generating BRA-based looping. | Brian | |
2007-02-07 | Use IR_LOOP to represent do-while and for-loops. | Brian | |
Also, start moving high vs. low-level instruction selection into slang_emit.c | |||
2007-02-06 | Implement CONT, improve BRK. | Brian | |
IR_LOOP's BranchNode ptr is the head of a linked list of CONT and BRK nodes. After emitting loop, walk over the linked list, filling in the CONT/BRK instruction's BranchTarget field (location of the ENDLOOP instruction, or one past). | |||
2007-02-06 | replace IR_BEGIN_LOOP/IR_END_LOOP with IR_LOOP | Brian | |
2007-02-06 | new_node[0123]() functions | Brian | |
2007-02-06 | redo IR_IF node, removing IR_ELSE, IR_ENDIF | Brian | |