Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-30 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
Conflicts: src/mesa/main/config.h | |||
2008-12-30 | mesa: fix bug in evaluation of structure fields | Brian Paul | |
Fixes incorrect size information. See bug 19273. | |||
2008-12-30 | mesa: allow variable indexing into the predefined uniform variable arrays | Brian Paul | |
This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work. When a built-in uniform array is indexed with a variable index we need to "unroll" the whole array into the parameter list (aka constant buffer) because we don't know which elements may be accessed at compile-time. In the case of the gl_LightSource array of size [8], we emit 64 state references into the parameter array (8 elements times 8 vec4s per gl_LightSourceParameters struct). Previously, we only allowed constant-indexed references to uniform arrays (such as gl_LightSource[2].position) which resulted in a single state reference being added to the parameter array, not 64. We still optimize this case. Users should be aware that using "gl_LightSource[i].ambient" in their shaders is a bit expensive since state validation will involve updating all 64 light source entries in the parameter list. | |||
2008-12-30 | mesa: better error message when running out of GLSL samplers | Brian Paul | |
2008-12-30 | mesa: comments for some state vars | Brian Paul | |
2008-12-19 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
2008-12-19 | GLSL: The LOG2 macro doesn't have enough precision | Ian Romanick | |
It looks like the LOG2 macro only has 8 or 9 bits of precission, but the ARB_vertex_program spec says "accurate to at least 10 bits". | |||
2008-12-18 | glsl: Fix handling of nested parens in macro actual arguments. | Michal Krol | |
2008-12-18 | glsl: Fix handling of nested parens in macro actual arguments. | Michal Krol | |
2008-12-16 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
2008-12-16 | mesa: disable debug output | Brian Paul | |
2008-12-16 | mesa: fix some GLSL array regressions | Brian Paul | |
array.length() wasn't working. Swizzle mask for accessing elements of float arrays was incorrect. | |||
2008-12-15 | mesa: rename slang_library_noise.[ch] to prog_noise.[ch] and rename functions | Brian Paul | |
The noise functions were not glsl-specific. Also, ran indent on the code to clean it up. | |||
2008-12-15 | mesa: bump glsl grammar revision | Brian Paul | |
And update some copyrights. | |||
2008-12-15 | mesa: more re-org of variable declarations in glsl compiler | Brian Paul | |
2008-12-15 | mesa: more comments, clean up | Brian Paul | |
2008-12-15 | mesa: added comments, remove unused code | Brian Paul | |
2008-12-15 | mesa: checkpoint: handle uniform vars in _slang_gen_var_decl() | Brian Paul | |
This allows uniform declarations with scalar/array initializers. The code is rough though, and will be cleaned up. | |||
2008-12-12 | mesa: use IFLOOR(x) instead of (int) FLOORF(x) | Brian Paul | |
2008-12-12 | mesa: place glsl constant arrays in constant memory | Brian Paul | |
For example, a declaration like const float[3] xxx = float[3](1.1, 2.2, 3.3); will place the array in the constant buffer whereas a regular, non-const array would be placed in the temporary register file. Next up: do the same thing for uniform arrays. | |||
2008-12-12 | mesa: remove old size=4 limit | Brian Paul | |
2008-12-12 | mesa: code clean-up in glsl compiler | Brian Paul | |
2008-12-12 | mesa: remove unneeded swizzle init code in glsl compiler | Brian Paul | |
2008-12-12 | mesa: disable glsl debug output | Brian Paul | |
2008-12-12 | mesa: remove unused varpool code in glsl compiler | Brian Paul | |
2008-12-12 | mesa: basic array constructors work now | Brian Paul | |
For example: float[3] xxx = float[3](1.1, 2.2, 3.3); Optimizations for const-qualified arrays next. | |||
2008-12-12 | mesa: copy array_len in slang_fully_specified_type_copy() | Brian Paul | |
2008-12-12 | mesa: remove incorrect array_len assignment | Brian Paul | |
2008-12-12 | mesa: array size fix in _slang_typeof_operation() | Brian Paul | |
2008-12-12 | mesa: fix some more GLSL 1.20 array things. | Brian Paul | |
Function that return arrays should work now. | |||
2008-12-12 | mesa: more glsl function renaming | Brian Paul | |
2008-12-12 | mesa: use _slang_alloc() | Brian Paul | |
2008-12-12 | mesa: glsl compiler function renaming | Brian Paul | |
2008-12-12 | mesa: more glsl type/function movement | Brian Paul | |
2008-12-12 | mesa: move some glsl compiler functions to different files to be more consistant | Brian Paul | |
2008-12-12 | mesa: move _slang_locate_function() to different file | Brian Paul | |
2008-12-12 | mesa: remove unused fixup table code in glsl compiler | Brian Paul | |
2008-12-12 | mesa: checkpoint: GLSL 1.20 array constructors | Brian Paul | |
2008-12-11 | mesa: consolidate variable declaration initializer code for globals too | Brian Paul | |
2008-12-11 | mesa: move variable initializer IR generation into _slang_gen_var_decl() | Brian Paul | |
More code consolidation coming... | |||
2008-12-11 | mesa: simplify some glsl variable declaration code | Brian Paul | |
2008-12-11 | mesa: glsl clean-ups | Brian Paul | |
2008-12-11 | mesa: checkpoint commit of GLSL 1.20 array syntax. | Brian Paul | |
This allows things like float[3] x = float[3](1., 2., 3.); Parsing and AST construction now. Codegen not working yet. | |||
2008-12-09 | mesa: in slang linker, replace assertion with link error when max samplers ↵ | Brian Paul | |
exceeded | |||
2008-12-08 | Merge commit 'origin/master' into gallium-0.2 | Alan Hourihane | |
Conflicts: progs/glsl/Makefile | |||
2008-11-28 | mesa: fix default switch case in append_token(), see bug 18734 | Brian Paul | |
2008-11-28 | Merge commit 'origin/master' into gallium-0.2 | Alan Hourihane | |
2008-11-27 | mesa: remove an assertion (see bug 18734) | Brian Paul | |
2008-11-26 | mesa: add missing type check for function calls | Brian Paul | |
2008-11-26 | mesa: add missing size check for assignment optimization | Brian Paul | |