summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-21checkpoint overhaul of pre-defined uniform codeBrian
2007-02-20clean-up, move IR_ELEMENT codeBrian
2007-02-20alloc IR_FIELD's Storage in codegen, like IR_ELEMENTBrian
2007-02-20work on struct/array handlingBrian
2007-02-20forgot to return length in parse_array_len()Brian
2007-02-20implement support for pre-defined uniform structs (state vars)Brian
2007-02-20added slang_builtin.cBrian
2007-02-20added SWIZZLE_XXXX, SWIZZLE_YYYY, etcBrian
2007-02-20remove accidental check-inBrian
2007-02-20Merge branch 'glsl-compiler-1' of ↵Brian
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1
2007-02-17s/PROG_PRINT_ARB/PROG_PRINT_DEBUG/Brian
2007-02-17info about stand-alone compilerBrian
2007-02-17stand-alone GLSL compilerBrian
2007-02-17Lots of changes to prog_print.c code.Brian
Mainly, allow printing programs in either ARB, NV or "debug" formats.
2007-02-16remove dead codeBrian
2007-02-16s/_slang_link2/_slang_link/Brian
2007-02-16change all enum tokens to uppercaseBrian
2007-02-16abort upon errors (temporary)Brian
2007-02-16added a commentBrian
2007-02-16Allow int->float argument conversion in _slang_locate_function().Brian
2007-02-16implement IR_I_TO_FBrian
2007-02-13remove dead codeBrian
2007-02-09add prog_debug.cBrian
2007-02-09move GL_MESA_program_debug funcs to prog_debug.cBrian
2007-02-09Move experimental GL_MESA_program_debug functions into new file.Brian
2007-02-09comments, etcBrian
2007-02-09re-enable free'ing of IR treesBrian
2007-02-09always init param vars to silence valgrind warningsBrian
2007-02-08do full swizzled matching in _mesa_lookup_parameter_constant()Brian
2007-02-08Check 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-08optimize conditional breaks/continuesBrian
2007-02-08cont at top of loop, little clean-upsBrian
2007-02-08remove some cruftBrian
2007-02-08fix broken BRA for return stmtsBrian
2007-02-08consolidate BRA with BRK, CONTBrian
2007-02-08change BranchTarget to GLintBrian
2007-02-08Use conditional break in for/do/while loops.Brian
2007-02-08Simplify code with eval_condition(). Implement conditional BRK.Brian
2007-02-07remove old loop break/cont stuffBrian
2007-02-07high vs. low level if/then/else code emitBrian
2007-02-07s/%f/%g/Brian
2007-02-07Remove old functions for generating BRA-based looping.Brian
2007-02-07Use 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-06BRK and CONT work the sameBrian
2007-02-06Implement 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-06replace IR_BEGIN_LOOP/IR_END_LOOP with IR_LOOPBrian
2007-02-06new_node[0123]() functionsBrian
2007-02-06redo IR_IF node, removing IR_ELSE, IR_ENDIFBrian
2007-02-05additional comments for BranchTargetBrian
2007-02-05BRK instruction's BranchTarget field now used for efficiently breaking out ↵Brian
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.