diff options
author | Paul Berry <[email protected]> | 2013-09-27 14:18:09 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-10-10 14:27:08 -0700 |
commit | 9bb60a155fbbee70113c8742e3157a371ac8c586 (patch) | |
tree | 642e0e122f9075cf607561ff29a75c17a9940083 /src/glsl/ir_print_visitor.h | |
parent | 1838df97a28cf859f20d6535c00509574b200152 (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/ir_print_visitor.h')
0 files changed, 0 insertions, 0 deletions