Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: move shader/slang/* sources to main/slang/* | Brian Paul | 2010-06-10 | 1 | -73/+0 |
| | | | | Reduce the source tree depth a bit. | ||||
* | glsl: added uniform initializer check | Brian Paul | 2009-12-29 | 1 | -0/+1 |
| | | | | | | | | | 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. | ||||
* | glsl: fix assorted regressions related to early-return-removal | Brian Paul | 2009-06-26 | 1 | -0/+1 |
| | |||||
* | glsl: comments, field reordering | Brian Paul | 2009-06-26 | 1 | -1/+4 |
| | |||||
* | glsl: rework loop nesting code | Brian Paul | 2009-06-26 | 1 | -2/+8 |
| | |||||
* | glsl: fix a bug involving 'continue' in 'for' loops | Brian Paul | 2009-06-26 | 1 | -0/+1 |
| | | | | | | | | 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. | ||||
* | glsl: added slang_assemble_ctx::EmitContReturn field, init | Brian Paul | 2009-06-26 | 1 | -0/+1 |
| | |||||
* | Revert "slang: if/else/break & if/else/continue work for unrolled loops" | Brian Paul | 2009-06-26 | 1 | -1/+0 |
| | | | | | | | | | | | 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 | ||||
* | glsl: implement compiling/linking of separate compilation units | Brian Paul | 2009-04-01 | 1 | -0/+1 |
| | | | | | | | | | 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. | ||||
* | slang: if/else/break & if/else/continue work for unrolled loops | Alan Hourihane | 2009-03-19 | 1 | -0/+1 |
| | |||||
* | glsl: propagate pragma info down into compiler from preprocessor | Brian Paul | 2009-01-14 | 1 | -0/+1 |
| | |||||
* | mesa: move some glsl compiler functions to different files to be more consistant | Brian Paul | 2008-12-12 | 1 | -0/+13 |
| | |||||
* | mesa: import latest GLSL code from gallium-0.1 branch | Brian Paul | 2008-08-16 | 1 | -1/+1 |
| | |||||
* | _slang_gen_function_call_name() now tries to adapt function calls (expand | Brian | 2007-01-17 | 1 | -0/+3 |
| | | | | vectors, insert casts) when a perfect match isn't found. | ||||
* | checkpoint: codegen for global vars w/ initializers | Brian | 2007-01-10 | 1 | -4/+3 |
| | |||||
* | Checkpoint: re-org of (global) variable allocation code. More to come... | Brian | 2007-01-08 | 1 | -1/+2 |
| | |||||
* | Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵ | Brian | 2007-01-05 | 1 | -0/+3 |
| | | | | properly. | ||||
* | Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵ | Brian | 2006-12-13 | 1 | -0/+39 |
instructions. |