fbo-mrt-alphatest: Actually require MRTs to be available.
[piglit.git] / tests / spec / arb_shader_storage_buffer_object / compiler / member-invalid-binding-qualifier.frag
blobdee06656704194943056a35de8ee3c593f603c7c
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.50
4 // require_extensions: GL_ARB_shader_storage_buffer_object
5 // [end config]
7 /* From the GL_ARB_shader_storage_buffer_object spec:
8  *
9  *  "It is an error to specify the binding identifier for the global
10  *  scope or for block member declarations.
11  */
13 #version 150
14 #extension GL_ARB_shader_storage_buffer_object: require
16 buffer buf {
17         layout(binding=42) float f;
20 float foo(void) {
21         return f;