summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_codegen.c
Commit message (Expand)AuthorAgeFilesLines
* checkpoint overhaul of pre-defined uniform codeBrian2007-02-211-12/+2
* alloc IR_FIELD's Storage in codegen, like IR_ELEMENTBrian2007-02-201-0/+4
* work on struct/array handlingBrian2007-02-201-14/+17
* implement support for pre-defined uniform structs (state vars)Brian2007-02-201-64/+16
* change all enum tokens to uppercaseBrian2007-02-161-159/+159
* added a commentBrian2007-02-161-0/+3
* re-enable free'ing of IR treesBrian2007-02-091-1/+1
* Check for constant-valued while/do loop conditions.Brian2007-02-081-8/+58
* optimize conditional breaks/continuesBrian2007-02-081-17/+73
* remove some cruftBrian2007-02-081-4/+1
* fix broken BRA for return stmtsBrian2007-02-081-3/+3
* Use conditional break in for/do/while loops.Brian2007-02-081-60/+46
* remove old loop break/cont stuffBrian2007-02-071-14/+4
* 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-071-44/+66
* Implement CONT, improve BRK.Brian2007-02-061-4/+25
* replace IR_BEGIN_LOOP/IR_END_LOOP with IR_LOOPBrian2007-02-061-42/+37
* new_node[0123]() functionsBrian2007-02-061-47/+61
* redo IR_IF node, removing IR_ELSE, IR_ENDIFBrian2007-02-061-61/+18
* BRK instruction's BranchTarget field now used for efficiently breaking out of...Brian2007-02-051-3/+87
* Use IR node's BranchNode field for IF/ELSE/ENDIF instructions.Brian2007-02-051-13/+51
* set UseHighLevelInstructions = false for nowBrian2007-02-051-1/+1
* Initial implementation of high-level flow-control instructions.Brian2007-02-051-6/+82
* Initial support of loop and subroutine instructions.Brian2007-02-051-2/+3
* Add literal_size field to slang_operation.Brian2007-02-031-1/+13
* add vec4_texcube to AsmInfo[]Brian2007-02-021-0/+1
* move _slang_locate_function()Brian2007-02-021-52/+0
* s/slang_assembly_typeinfo/slang_typeinfo/Brian2007-02-021-13/+13
* s/slang_assembly_name_space/slang_name_space/Brian2007-02-021-1/+1
* rename slang_assemble_typeinfo.[ch] to slang_typeinfo.[ch]Brian2007-02-021-1/+1
* remove more slang assembly-related codeBrian2007-02-021-1/+1
* move some functions, disable some code in preparation for removing assembly codeBrian2007-02-021-0/+52
* Move guts of slang_lookup_constant() into a new function in slang_simplify.cBrian2007-02-021-34/+10
* replace abort() with _mesa_problem()Brian2007-02-021-2/+5
* try to simplify variable initializersBrian2007-02-021-3/+1
* Fix logic in _slang_simplify(): vec2() constructor case wasn't getting used.Brian2007-02-011-2/+5
* Overhaul handling of writemasks/swizzling. This fixes two problem cases:Brian2007-01-311-72/+126
* New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with in...Brian2007-01-311-1/+9
* noise functionsBrian2007-01-281-0/+7
* implement mix() with LRP instructionBrian2007-01-281-3/+6
* Lots of vartable clean-ups, fixes. Report an error message when we run outBrian2007-01-281-4/+4
* fix g++ warnings/errorsBrian2007-01-231-6/+11
* Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian2007-01-201-1/+52
* Reimplement && and || to do short-circuit evaluation.Brian2007-01-201-51/+107
* Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 soBrian2007-01-191-7/+59
* Implement fragment discard/kill.Brian2007-01-191-0/+3
* Implement constant sharing so that 4 float constants can share a singleBrian2007-01-181-1/+5
* Reimplement code for swizzling so that expressions like (p+q).x for vectors p...Brian2007-01-181-27/+57
* remove swizzle param from new_var()Brian2007-01-181-5/+5
* _slang_gen_function_call_name() now tries to adapt function calls (expandBrian2007-01-171-12/+41