Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | more minor changes to STATE_ indexing | Brian | 2007-02-21 | 4 | -49/+72 |
| | |||||
* | 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 | 7 | -126/+166 |
| | |||||
* | 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 slang_builtin.c | Brian | 2007-02-20 | 1 | -0/+1 |
| | |||||
* | added SWIZZLE_XXXX, SWIZZLE_YYYY, etc | Brian | 2007-02-20 | 1 | -0/+5 |
| | |||||
* | remove accidental check-in | Brian | 2007-02-20 | 1 | -0/+0 |
| | |||||
* | Merge branch 'glsl-compiler-1' of ↵ | Brian | 2007-02-20 | 35 | -1691/+2530 |
|\ | | | | | | | 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 |
| | | |||||
| * | stand-alone GLSL compiler | Brian | 2007-02-17 | 3 | -0/+397 |
| | | |||||
| * | Lots of changes to prog_print.c code. | Brian | 2007-02-17 | 4 | -45/+336 |
| | | | | | | | | 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 |
| | | |||||
| * | add prog_debug.c | Brian | 2007-02-09 | 1 | -0/+1 |
| | | |||||
| * | 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. | ||||
| * | optimize conditional breaks/continues | Brian | 2007-02-08 | 2 | -23/+87 |
| | | |||||
| * | cont at top of loop, little clean-ups | Brian | 2007-02-08 | 1 | -5/+12 |
| | | |||||
| * | remove some cruft | Brian | 2007-02-08 | 1 | -4/+1 |
| | | |||||
| * | fix broken BRA for return stmts | Brian | 2007-02-08 | 2 | -3/+4 |
| | | |||||
| * | consolidate BRA with BRK, CONT | Brian | 2007-02-08 | 1 | -7/+3 |
| | | |||||
| * | change BranchTarget to GLint | Brian | 2007-02-08 | 1 | -1/+1 |
| | | |||||
| * | Use conditional break in for/do/while loops. | Brian | 2007-02-08 | 2 | -62/+88 |
| | | |||||
| * | Simplify code with eval_condition(). Implement conditional BRK. | Brian | 2007-02-08 | 1 | -69/+56 |
| | | |||||
| * | remove old loop break/cont stuff | Brian | 2007-02-07 | 2 | -16/+4 |
| | | |||||
| * | high vs. low level if/then/else code emit | Brian | 2007-02-07 | 1 | -77/+112 |
| | | |||||
| * | s/%f/%g/ | Brian | 2007-02-07 | 1 | -1/+1 |
| | | |||||
| * | Remove old functions for generating BRA-based looping. | Brian | 2007-02-07 | 1 | -176/+8 |
| | | |||||
| * | Use IR_LOOP to represent do-while and for-loops. | Brian | 2007-02-07 | 5 | -85/+128 |
| | | | | | | | | Also, start moving high vs. low-level instruction selection into slang_emit.c | ||||
| * | BRK and CONT work the same | Brian | 2007-02-06 | 1 | -20/+4 |
| | | |||||
| * | Implement CONT, improve BRK. | Brian | 2007-02-06 | 4 | -18/+74 |
| | | | | | | | | | | | | | | 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). | ||||
| * | replace IR_BEGIN_LOOP/IR_END_LOOP with IR_LOOP | Brian | 2007-02-06 | 4 | -60/+58 |
| | | |||||
| * | new_node[0123]() functions | Brian | 2007-02-06 | 1 | -47/+61 |
| | |