perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.50 / compiler / interface-blocks-in-block-no-instance.vert
blobdffc6173db2f76eff4b5f7a8e8187e6595ab311c
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.50
4 // check_link: true
5 // [end config]
6 //
7 // Tests that in interface blocks are rejected for the vertex shader.
8 //
9 // GLSLangSpec.1.50.11, 4.3.7 Interface Blocks:
10 // "It is illegal to have an input block in a vertex shader or an
11 //  output block in a fragment shader"
13 #version 150
15 in block {
16     vec4 iface_var;
19 void main()
21     gl_Position = vec4(0.0);