Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-26 | glsl: fix a bug involving 'continue' in 'for' loops | Brian 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-26 | glsl: added slang_assemble_ctx::EmitContReturn field, init | Brian Paul | |
2009-06-26 | Revert "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-01 | glsl: implement compiling/linking of separate compilation units | Brian 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-19 | slang: if/else/break & if/else/continue work for unrolled loops | Alan Hourihane | |
2009-01-14 | glsl: propagate pragma info down into compiler from preprocessor | Brian Paul | |
2008-12-12 | mesa: move some glsl compiler functions to different files to be more consistant | Brian Paul | |
2008-08-16 | mesa: import latest GLSL code from gallium-0.1 branch | Brian Paul | |
2007-01-17 | _slang_gen_function_call_name() now tries to adapt function calls (expand | Brian | |
vectors, insert casts) when a perfect match isn't found. | |||
2007-01-10 | checkpoint: codegen for global vars w/ initializers | Brian | |
2007-01-08 | Checkpoint: re-org of (global) variable allocation code. More to come... | Brian | |
2007-01-05 | Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵ | Brian | |
properly. | |||
2006-12-13 | Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵ | Brian | |
instructions. |