aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_basic_block.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-01-07 16:53:59 -0800
committerIan Romanick <[email protected]>2011-01-13 13:38:50 -0800
commit4bcff0c19091c7df2b2e0bafe58addb5bae28f1a (patch)
tree532006bc9f212ecbd2245c3a061b892a06e44a77 /src/glsl/ir_basic_block.h
parent82c4b4f88af97395a3d1b01e1998ec828cd5d305 (diff)
glsl: Emit errors or warnings when 'layout' is used with 'attribute' or 'varying'
The specs that add 'layout' require the use of 'in' or 'out'. However, a number of implementations, including Mesa, shipped several of these extensions allowing the use of 'varying' and 'attribute'. For these extensions only a warning is emitted. This differs from the behavior of Mesa 7.10. Mesa 7.10 would only accept 'attribute' with 'layout(location)'. This behavior was clearly wrong. Rather than carrying the broken behavior forward, we're just doing the correct thing. This is related to (piglit) bugzilla #31804. NOTE: This is a candidate for the 7.9 and 7.10 branches.
Diffstat (limited to 'src/glsl/ir_basic_block.h')
0 files changed, 0 insertions, 0 deletions