summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtin_variables.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-09-27 14:18:09 -0700
committerPaul Berry <[email protected]>2013-10-10 14:27:08 -0700
commit9bb60a155fbbee70113c8742e3157a371ac8c586 (patch)
tree642e0e122f9075cf607561ff29a75c17a9940083 /src/glsl/builtin_variables.cpp
parent1838df97a28cf859f20d6535c00509574b200152 (diff)
glsl: Don't allow unnamed interface blocks to redeclare variables.
Note: some limited amount of redeclaration is actually allowed, provided the shader is redeclaring the built-in gl_PerVertex interface block. Support for this will be added in future patches. Fixes piglit tests spec/glsl-1.50/compiler/unnamed-interface-block-elem-conflicts-with-prev-{block-elem,global}.vert. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/builtin_variables.cpp')
0 files changed, 0 insertions, 0 deletions