summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
AgeCommit message (Collapse)Author
2007-04-11move/fix texture sampling funcsBrian
2007-04-11s/Shadow/SHADOW/Brian
2007-04-10fix/work-around allocation bugs for non-square matricesBrian
2007-04-10update SLANG version testBrian
2007-04-10Add missing generated file.Michel Dänzer
2007-04-09NULL ptr checkBrian
2007-04-09plug in GLSL 1.20 unitBrian
2007-04-09undo a debug/test changeBrian
2007-04-08support for GLSL 1.20 non-square matricesBrian
2007-03-31always emit BGN/ENDSUB, for now anywayBrian
2007-03-31fix scoping mistake in previous commit that checked for writable LHSsBrian
2007-03-30check that LHS of assignment is writableBrian
2007-03-28cond code fixBrian
2007-03-28fix cond code swizzle bugBrian
2007-03-28Handle logical NOT and XOR without library functions. Results in much ↵Brian
tighter code.
2007-03-28optimization for the emit_not() functionBrian
2007-03-28remove IR_BREAK_IF_FALSEBrian
2007-03-28don't generate IR_BREAK_IF_FALSEBrian
2007-03-28Get rid of IR_CONT_IF_FALSEBrian
2007-03-28Don't emit OPCODE_CONT0/1, BRK0/1 instructions, clean-ups elsewhere.Brian
2007-03-28simplify, clean-up break/cont codeBrian
2007-03-28added some null ptr checks to handle error recoveryBrian
2007-03-28Use constant_to_src_reg() to simplify some codeBrian
2007-03-28added missing returns after slang_info_log_error() callsBrian
2007-03-28Fix, clean-up code related to comparisons, condition codes, etc.Brian
2007-03-28check that if/while/do-while condition is boolean or scalarBrian
2007-03-27Implement true CAL/RET subroutines. Some optimizations, clean-ups coming...Brian
2007-03-27added _slang_label_new_unique()Brian
2007-03-26Checkpoint: implementing true CAL/RET instructions for subroutine calls.Brian
Also, found/fixed a code generation regression: the emit_swizzle() function was always returning NULL. This caused emit_move() to miss its chance at peephole optimization.
2007-03-26Get rid of IR_JUMP and related code.Brian
2007-03-26Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling.Brian
2007-03-26remove debug abort() callsBrian
2007-03-26Additional error checking for 'return' statements.Brian
2007-03-26undo some debugging hacksBrian
2007-03-26dead code elimination for constant-valued if/then/elseBrian
2007-03-26Fix a few issues with computing storage sizes with respect to swizzles.Brian
2007-03-26remove incorrect assertionsBrian
2007-03-26disable printing shader program debug infoBrian
2007-03-26disable free() until other issues can be fixed...Brian
2007-03-24fix mem leakBrian
2007-03-24disable free(var->aux) -- can lead to segfaultBrian
2007-03-24fix mem leakBrian
2007-03-24fix some mem leaksBrian
2007-03-24fix mistake in _slang_free_ir()Brian
2007-03-24Properly free the slang_ir_node->Store data (use ref counting).Brian
2007-03-24move some code into new slang_ir.c fileBrian
2007-03-24IR utility functionsBrian
2007-03-23Fix issues related to the 'continue' statement.Brian
IR_LOOP now has two children: the body code, and the tail code. Tail code is the "i++" part of a for-loop, or the expression at the end of a "do {} while(expr);" loop. "continue" translates into: "execute tail code; CONT;" Also, the test for infinite do/while loops was incorrect.
2007-03-23Add the ability to generate programs that doesn't use condition codes.Brian
ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue.
2007-03-23minor tweaksBrian