summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* remove unneeded #includesBrian2007-02-211-5/+0
|
* fix copy&paste errorsBrian2007-02-211-4/+5
|
* more minor changes to STATE_ indexingBrian2007-02-214-49/+72
|
* remove dead codeBrian2007-02-211-18/+2
|
* Reimplement the _slang_alloc_statevar() function.Brian2007-02-212-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 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).