summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* adjustments to STATE_ token layout/format so token[1] is always the array indexBrian2007-02-217-126/+166
|
* checkpoint overhaul of pre-defined uniform codeBrian2007-02-214-12/+217
|
* clean-up, move IR_ELEMENT codeBrian2007-02-201-30/+36
|
* alloc IR_FIELD's Storage in codegen, like IR_ELEMENTBrian2007-02-202-4/+9
|
* work on struct/array handlingBrian2007-02-201-14/+17
|
* forgot to return length in parse_array_len()Brian2007-02-201-0/+2
|
* implement support for pre-defined uniform structs (state vars)Brian2007-02-204-64/+327
|
* added slang_builtin.cBrian2007-02-201-0/+1
|
* added SWIZZLE_XXXX, SWIZZLE_YYYY, etcBrian2007-02-201-0/+5
|
* remove accidental check-inBrian2007-02-201-0/+0
|
* Merge branch 'glsl-compiler-1' of ↵Brian2007-02-2035-1691/+2530
|\ | | | | | | git+ssh://[email protected]/git/mesa/mesa into glsl-compiler-1
| * s/PROG_PRINT_ARB/PROG_PRINT_DEBUG/Brian2007-02-171-1/+1
| |
| * stand-alone GLSL compilerBrian2007-02-173-0/+397
| |
| * Lots of changes to prog_print.c code.Brian2007-02-174-45/+336
| | | | | | | | Mainly, allow printing programs in either ARB, NV or "debug" formats.
| * remove dead codeBrian2007-02-161-21/+0
| |
| * s/_slang_link2/_slang_link/Brian2007-02-163-9/+9
| |
| * change all enum tokens to uppercaseBrian2007-02-1616-817/+819
| |
| * abort upon errors (temporary)Brian2007-02-161-1/+4
| |
| * added a commentBrian2007-02-161-0/+3
| |
| * Allow int->float argument conversion in _slang_locate_function().Brian2007-02-161-7/+37
| |
| * implement IR_I_TO_FBrian2007-02-161-1/+6
| |
| * remove dead codeBrian2007-02-131-3/+3
| |
| * add prog_debug.cBrian2007-02-091-0/+1
| |
| * move GL_MESA_program_debug funcs to prog_debug.cBrian2007-02-092-261/+6
| |
| * Move experimental GL_MESA_program_debug functions into new file.Brian2007-02-092-0/+309
| |
| * comments, etcBrian2007-02-091-3/+19
| |
| * re-enable free'ing of IR treesBrian2007-02-091-1/+1
| |
| * always init param vars to silence valgrind warningsBrian2007-02-091-0/+4
| |
| * do full swizzled matching in _mesa_lookup_parameter_constant()Brian2007-02-081-5/+16
| |
| * Check for constant-valued while/do loop conditions.Brian2007-02-081-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/continuesBrian2007-02-082-23/+87
| |
| * cont at top of loop, little clean-upsBrian2007-02-081-5/+12
| |
| * remove some cruftBrian2007-02-081-4/+1
| |
| * fix broken BRA for return stmtsBrian2007-02-082-3/+4
| |
| * consolidate BRA with BRK, CONTBrian2007-02-081-7/+3
| |
| * change BranchTarget to GLintBrian2007-02-081-1/+1
| |
| * Use conditional break in for/do/while loops.Brian2007-02-082-62/+88
| |
| * Simplify code with eval_condition(). Implement conditional BRK.Brian2007-02-081-69/+56
| |
| * remove old loop break/cont stuffBrian2007-02-072-16/+4
| |
| * high vs. low level if/then/else code emitBrian2007-02-071-77/+112
| |
| * s/%f/%g/Brian2007-02-071-1/+1
| |
| * Remove old functions for generating BRA-based looping.Brian2007-02-071-176/+8
| |
| * Use IR_LOOP to represent do-while and for-loops.Brian2007-02-075-85/+128
| | | | | | | | Also, start moving high vs. low-level instruction selection into slang_emit.c
| * BRK and CONT work the sameBrian2007-02-061-20/+4
| |
| * Implement CONT, improve BRK.Brian2007-02-064-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_LOOPBrian2007-02-064-60/+58
| |
| * new_node[0123]() functionsBrian2007-02-061-47/+61
| |
| * redo IR_IF node, removing IR_ELSE, IR_ENDIFBrian2007-02-063-110/+75
| |
* | additional comments for BranchTargetBrian2007-02-051-0/+4
|/
* BRK instruction's BranchTarget field now used for efficiently breaking out ↵Brian2007-02-054-29/+123
| | | | | | | | of loops. BRK's BranchTarget field actually points to the top of the loop, not the bottom, since we don't know the later's location yet. In the interpreter, basically do an indirect jump to update the PC.