summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_emit.c
AgeCommit message (Expand)Author
2007-03-07Fix problem with nested function calls such as y = f(f(x))Brian
2007-03-06fix some int arithmetic problemsBrian
2007-02-26Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.Brian
2007-02-26Overhaul of error handling.Brian
2007-02-26Use new slang_emit_info struct for passing context info around.Brian
2007-02-23comments, clean-upBrian
2007-02-23Replace slang_ir_node::Target w/ Field. Remove Comment field. Clean-up.Brian
2007-02-23Re-implement branching with slang_labels.Brian
2007-02-22debug code for emitting variable allocation commentsBrian
2007-02-21remove dead codeBrian
2007-02-21adjustments to STATE_ token layout/format so token[1] is always the array indexBrian
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-20implement support for pre-defined uniform structs (state vars)Brian
2007-02-16implement IR_I_TO_FBrian
2007-02-09comments, etcBrian
2007-02-08optimize conditional breaks/continuesBrian
2007-02-08cont at top of loop, little clean-upsBrian
2007-02-08fix broken BRA for return stmtsBrian
2007-02-08Use conditional break in for/do/while loops.Brian
2007-02-07high vs. low level if/then/else code emitBrian
2007-02-07Use IR_LOOP to represent do-while and for-loops.Brian
2007-02-06Implement CONT, improve BRK.Brian
2007-02-06replace IR_BEGIN_LOOP/IR_END_LOOP with IR_LOOPBrian
2007-02-06redo IR_IF node, removing IR_ELSE, IR_ENDIFBrian
2007-02-05BRK instruction's BranchTarget field now used for efficiently breaking out of...Brian
2007-02-05Use IR node's BranchNode field for IF/ELSE/ENDIF instructions.Brian
2007-02-05Initial implementation of high-level flow-control instructions.Brian
2007-02-05Initial support of loop and subroutine instructions.Brian
2007-02-02fix emit_tex() breakageBrian
2007-01-31Overhaul handling of writemasks/swizzling. This fixes two problem cases:Brian
2007-01-31New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with in...Brian
2007-01-28noise functionsBrian
2007-01-28combine emit_unop(), emit_binop(), emit_triop() into emit_arith()Brian
2007-01-28implement mix() with LRP instructionBrian
2007-01-28Lots of vartable clean-ups, fixes. Report an error message when we run outBrian
2007-01-28minor clean-upsBrian
2007-01-27Clean-up of var/temp allocation function parameters.Brian
2007-01-27Improved register allocation: allow four 'float' vars or temporaries to share...Brian
2007-01-23fix g++ warnings/errorsBrian
2007-01-20Add a simple mechanism for annotating instructions for easier debugging.Brian
2007-01-20optimization: emit MAD instructions when possibleBrian
2007-01-20remove unused swizzle parameter to -storage_to_src_reg()Brian
2007-01-20Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian
2007-01-20Reimplement && and || to do short-circuit evaluation.Brian
2007-01-19Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 soBrian
2007-01-19Implement fragment discard/kill.Brian
2007-01-18Implement constant sharing so that 4 float constants can share a singleBrian
2007-01-18Reimplement code for swizzling so that expressions like (p+q).x for vectors p...Brian