summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_vartable.c
AgeCommit message (Collapse)Author
2008-08-05mesa: glsl: re-org of intermediate/temp storageBrian Paul
Simplify the code for allocating storage for intermediate results. Use fewer temps in some cases. Also, use new asm vec4_move intrinsic instead of regular assigments in various constructors. For example: float f; vec3 v; v.xyz = f; is not legal GLSL, so do this instead: __asm vec4_move v.xyz, f; // note: f will auto-expand into f.xxxx Plus, fix assorted bugs in structure comparison.
2008-07-18mesa: 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-15mesa: Silence compiler warnings on Windows.Michal Krol
2008-07-03mesa: fix incorrect array size, added assertionBrian Paul
2008-07-02mesa: disable some debug assertionsBrian Paul
We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday.
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-04-24assorted fixes for Windows/VC8Karl Schultz
2007-04-21Remove all the USE_MEMPOOL debug code.Brian
2007-04-21Use new memory pool allocator. Lots of debug code still in place...Brian
2007-03-07remove bogus assertionBrian
2007-01-28Lots of vartable clean-ups, fixes. Report an error message when we run outBrian
of registers, rather than crash.
2007-01-27Clean-up of var/temp allocation function parameters.Brian
2007-01-27Improved register allocation: allow four 'float' vars or temporaries to ↵Brian
share a single register. Clean-up needed.
2007-01-17do bounds check in _slang_push_var_table(), added commentBrian
2007-01-17handle var size > 4 in _slang_pop_var_table()Brian
2007-01-17Fix/clean-up a number of things related to variable/temporary allocation.Brian
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.