perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.50 / compiler / interface-blocks-name-reused-globally.vert
blob8f20695aa7168eac774114d3febfcff99ea871ed
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.50
4 // check_link: true
5 // [end config]
6 //
7 // GLSLangSpec.1.50.11, 4.3.7 Interface Blocks:
8 // "Block names have no other use within a shader beyond interface matching;
9 //  it is an error to use a block name at global scope for anything other than
10 //  as a block name."
12 // Tests that an interface block name may not be reused globally as anything
13 // other than as a block name.
15 #version 150
17 vec4 block;
19 out block {
20     vec4 a;
21 } inst;
23 void main()