summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_emit.c
Commit message (Expand)AuthorAgeFilesLines
* fix emit_tex() breakageBrian2007-02-021-0/+2
* Overhaul handling of writemasks/swizzling. This fixes two problem cases:Brian2007-01-311-11/+58
* New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with in...Brian2007-01-311-5/+91
* noise functionsBrian2007-01-281-0/+9
* combine emit_unop(), emit_binop(), emit_triop() into emit_arith()Brian2007-01-281-109/+52
* implement mix() with LRP instructionBrian2007-01-281-0/+45
* Lots of vartable clean-ups, fixes. Report an error message when we run outBrian2007-01-281-12/+21
* minor clean-upsBrian2007-01-281-8/+1
* Clean-up of var/temp allocation function parameters.Brian2007-01-271-21/+9
* Improved register allocation: allow four 'float' vars or temporaries to share...Brian2007-01-271-17/+33
* fix g++ warnings/errorsBrian2007-01-231-23/+23
* Add a simple mechanism for annotating instructions for easier debugging.Brian2007-01-201-4/+148
* optimization: emit MAD instructions when possibleBrian2007-01-201-10/+50
* remove unused swizzle parameter to -storage_to_src_reg()Brian2007-01-201-18/+9
* Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian2007-01-201-0/+37
* Reimplement && and || to do short-circuit evaluation.Brian2007-01-201-2/+7
* Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 soBrian2007-01-191-8/+18
* Implement fragment discard/kill.Brian2007-01-191-0/+19
* Implement constant sharing so that 4 float constants can share a singleBrian2007-01-181-11/+14
* Reimplement code for swizzling so that expressions like (p+q).x for vectors p...Brian2007-01-181-58/+69
* code clean-up, re-org. Added IR_F_TO_I support.Brian2007-01-171-90/+112
* Fix/clean-up a number of things related to variable/temporary allocation.Brian2007-01-171-2/+7
* Implement codegen for the selection operator ( b ? x : y )Brian2007-01-161-1/+2
* added IR_ELEMENTBrian2007-01-151-0/+1
* Redo the way array indexes are handled. Resolve storage location at code emi...Brian2007-01-151-0/+25
* commentsBrian2007-01-151-0/+7
* Rework code related to temp register allocation, both for user variablesBrian2007-01-131-107/+99
* Fix a problem with inlined "return" statements. Make some attempt to free te...Brian2007-01-111-7/+9
* checkpoint: codegen for global vars/constants now workingBrian2007-01-101-3/+5
* assorted code clean-upsBrian2007-01-101-16/+11
* Implement shadow samplers and dFdx(), dFdy() code generation.Brian2007-01-091-0/+4
* implement biased texture functionsBrian2007-01-081-2/+2
* Implement projective texture sampling, 3D textures. Disable some debug output.Brian2007-01-081-2/+7
* Move storage allocation functions from slang_emit.c to slang_codegen.cBrian2007-01-081-340/+5
* checkpoint: more work on variable/storage allocationBrian2007-01-081-44/+40
* Checkpoint: re-org of (global) variable allocation code. More to come...Brian2007-01-081-130/+9
* Checkpoint glsl compiler work: sampler uniforms now implemented, linked prope...Brian2007-01-051-16/+26
* update TexturesUsed[] in slang_update_inputs_outputs()Brian2007-01-041-2/+0
* compute InputsRead/OutputsWritten with slang_update_inputs_outputs()Brian2007-01-041-20/+0
* move TexturesUsed[] into gl_program since vertex programs/shaders can use tex...Brian2007-01-041-2/+1
* added texture attribs in slang_find_input()Brian2007-01-041-0/+4
* initial code to get texture sampling limping alongBrian2007-01-041-8/+70
* implement unary +, -Brian2006-12-221-19/+8
* fix typosBrian2006-12-211-2/+2
* added IR_NEG for negationBrian2006-12-211-0/+37
* Uniform matrix support.Brian2006-12-201-9/+11
* New IR_COND node for evaluating conditional expressions (for if/while/for).Brian2006-12-201-8/+34
* Implement if-conditionals and while loops, added temporary resolve-branches f...Brian2006-12-181-6/+20
* Initial code for conditional constructs.Brian2006-12-161-2/+26
* start implementing relational operatorsBrian2006-12-151-16/+17