Age | Commit message (Collapse) | Author |
|
This allows syntax like "float[8] foo, bar;"
|
|
|
|
RETURN0 macro reports file/line before returning zero.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Plus,
- fix some issues in casting function arguments to format param types.
- fix some vec/mat constructor bugs
- find/report more syntax/semantic errors
|
|
|
|
Plus, fix some issues with pre-defined preprocessor symbols and version checking.
|
|
Before, main() had to come after any functions it called.
|
|
|
|
|
|
|
|
test in if.glsl
|
|
e.g.
const int kernelSize = 9;
uniform vec2 kernel[kernelSize];
|
|
All samplers indexes were zero.
|
|
Previously, the shader linker combined the uniforms used by the vertex and
fragment shaders into a combined set of uniforms. This made the implementation
of glUniform*() simple, but was rather inefficient otherwise. Now each shader
gets its own set of uniforms (no more modelview matrix showing up in the
fragment shader uniforms, for example).
cherry-picked by hand from gallium-0.1 branch
|
|
Contains the normalized fragment position within a point sprite.
|
|
|
|
of -I flags.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This includes the sampler2DRect and sampler2DRectShadow types and
the texture2DRect(), texture2DRectProj(), etc. built-in functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Used to track the number of components in a float/int/bool literal.
Helps with some typechecking things.
Fixes problems with calls such as "distance(v2, vec2(1.0, 2.0))"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
of registers, rather than crash.
|