summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_emit.h
AgeCommit message (Collapse)Author
2008-12-16mesa: fix some GLSL array regressionsBrian Paul
array.length() wasn't working. Swizzle mask for accessing elements of float arrays was incorrect.
2008-08-16mesa: import latest GLSL code from gallium-0.1 branchBrian Paul
2008-07-29mesa: rework array/struct addressing code.Brian Paul
The slang_ir_storage type now has a pointer to parent storage to represent storage of an array element within an array, or a field within a struct. This fixes some problems related to addressing of fields/elements in non- trivial cases. More work to follow.
2008-07-01mesa: make _slang_swizzle_swizzle() non-privateBrian Paul
2007-02-26Overhaul of error handling.Brian
2007-01-18Reimplement code for swizzling so that expressions like (p+q).x for vectors ↵Brian
p and q works correctly.
2007-01-13Rework code related to temp register allocation, both for user variablesBrian
and expression temporarires. Much better register utilization now. Lots of other fixes. The OpenGL GLSL "orange book" brick shader demo works now.
2007-01-11Fix a problem with inlined "return" statements. Make some attempt to free ↵Brian
temporaries.
2007-01-10checkpoint: codegen for global vars/constants now workingBrian
2007-01-08Move storage allocation functions from slang_emit.c to slang_codegen.cBrian
2006-12-15Lots of assorted changes.Brian
Implement assignment/move for types larger than 4 floats. Fix codegen bug for "return expr" in inlined functions. More clean-up of storage allocation code (slang_resolve_storage).
2006-12-13Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵Brian
instructions.