summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_codegen.h
AgeCommit message (Collapse)Author
2009-06-26glsl: fix assorted regressions related to early-return-removalBrian Paul
2009-06-26glsl: comments, field reorderingBrian Paul
2009-06-26glsl: rework loop nesting codeBrian Paul
2009-06-26glsl: fix a bug involving 'continue' in 'for' loopsBrian Paul
Need to execute the for loop's increment code before we continue. Add a slang_assemble_ctx::CurLoopOper field to keep track of the containing loop and avoid the "cont if true" path in this situation. Plus, assorted clean-ups.
2009-06-26glsl: added slang_assemble_ctx::EmitContReturn field, initBrian Paul
2009-06-26Revert "slang: if/else/break & if/else/continue work for unrolled loops"Brian Paul
We should just check if the loop contains a continue/break in the _slang_can_unroll_for_loop() test function... This reverts commit 989856bde47d699d7e18798df4013fbf962e1d4b. Conflicts: src/mesa/shader/slang/slang_codegen.h
2009-04-01glsl: implement compiling/linking of separate compilation unitsBrian Paul
A shader program may consist of multiple shaders (source code units). If we find there are unresolved functions after compiling the unit that defines main(), we'll concatenate all the respective vertex or fragment shaders then recompile. This isn't foolproof but should work in most cases.
2009-03-19slang: if/else/break & if/else/continue work for unrolled loopsAlan Hourihane
2009-01-14glsl: propagate pragma info down into compiler from preprocessorBrian Paul
2008-12-12mesa: move some glsl compiler functions to different files to be more consistantBrian Paul
2008-08-16mesa: import latest GLSL code from gallium-0.1 branchBrian Paul
2007-01-17_slang_gen_function_call_name() now tries to adapt function calls (expandBrian
vectors, insert casts) when a perfect match isn't found.
2007-01-10checkpoint: codegen for global vars w/ initializersBrian
2007-01-08Checkpoint: re-org of (global) variable allocation code. More to come...Brian
2007-01-05Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵Brian
properly.
2006-12-13Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵Brian
instructions.