summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_codegen.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix/clean-up a number of things related to variable/temporary allocation.Brian2007-01-171-23/+29
* Implement codegen for the selection operator ( b ? x : y )Brian2007-01-161-18/+102
* fix typoBrian2007-01-161-1/+1
* remove dead codeBrian2007-01-161-11/+0
* implement logical or, xor, notBrian2007-01-161-10/+18
* fix _slang_gen_subscript() for the case when a simple vector is accessed as a...Brian2007-01-161-17/+52
* Reimplement the post-increment/decrement functions.Brian2007-01-151-13/+8
* Implement the ++var and --var operators, improve some constructors.Brian2007-01-151-16/+11
* checkpoint: ++, -- and && operatorsBrian2007-01-151-5/+74
* Redo the way array indexes are handled. Resolve storage location at code emi...Brian2007-01-151-48/+20
* remove old globalsBrian2007-01-151-10/+0
* Move some global vars into slang_assemble_ctx.Brian2007-01-151-31/+33
* fix the subassig, mulassign and divassign casesBrian2007-01-151-12/+3
* clean-up slang_allocate_storage()Brian2007-01-151-44/+22
* Rework code related to temp register allocation, both for user variablesBrian2007-01-131-137/+102
* Fix a problem with inlined "return" statements. Make some attempt to free te...Brian2007-01-111-10/+155
* checkpoint: codegen for global vars/constants now workingBrian2007-01-101-39/+50
* checkpoint: codegen for global vars w/ initializersBrian2007-01-101-160/+205
* assorted code clean-upsBrian2007-01-101-10/+23
* clean up a bunch of program parameter stuffBrian2007-01-091-5/+6
* Implement vertex attribute binding.Brian2007-01-091-6/+18
* Implement shadow samplers and dFdx(), dFdy() code generation.Brian2007-01-091-0/+2
* implement biased texture functionsBrian2007-01-081-4/+4
* Implement projective texture sampling, 3D textures. Disable some debug output.Brian2007-01-081-17/+23
* Move some code around, add some comments.Brian2007-01-081-242/+256
* Move storage allocation functions from slang_emit.c to slang_codegen.cBrian2007-01-081-0/+281
* Checkpoint: re-org of (global) variable allocation code. More to come...Brian2007-01-081-7/+169
* Checkpoint glsl compiler work: sampler uniforms now implemented, linked prope...Brian2007-01-051-8/+84
* initial code to get texture sampling limping alongBrian2007-01-041-3/+11
* implement unary +, -Brian2006-12-221-2/+11
* added IR_NEG for negationBrian2006-12-211-0/+1
* New IR_COND node for evaluating conditional expressions (for if/while/for).Brian2006-12-201-0/+11