summaryrefslogtreecommitdiff
path: root/src/mesa/shader/program_parser.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-29 10:11:26 -0700
committerBrian Paul <brianp@vmware.com>2009-12-29 10:11:29 -0700
commit4f481cb87ae948852effde2fa4d997c007afd99c (patch)
treef7496df247793500a446e98afaffb3ce9bedb3b0 /src/mesa/shader/program_parser.h
parent639e7a140e430aa8839c652459eddc9a4b79f9c6 (diff)
glsl: added uniform initializer check
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.
Diffstat (limited to 'src/mesa/shader/program_parser.h')
0 files changed, 0 insertions, 0 deletions