Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-29 | glsl: added uniform initializer check | Brian Paul | |
GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later allows them. This patch uses the #version directive to allow/disallow uniform initializers. This addresses bug 25807, but piglit also needs to be fixed to specify the GLSL version in the shader. | |||
2009-06-26 | glsl: fix assorted regressions related to early-return-removal | Brian Paul | |
2009-06-26 | glsl: comments, field reordering | Brian Paul | |
2009-06-26 | glsl: rework loop nesting code | Brian Paul | |
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. |