fbo-mrt-alphatest: Actually require MRTs to be available.
[piglit.git] / tests / spec / arb_shader_storage_buffer_object / compiler / shader-storage-outside-block.frag
blob31c2b313882df5c41b49dc64bb8ee529cdc66c37
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.20
4 // require_extensions: GL_ARB_shader_storage_buffer_object
5 // [end config]
7 #version 120
8 #extension GL_ARB_shader_storage_buffer_object: require
10 /* From the GL_ARB_shader_storage_buffer_object spec:
11  *
12  *  "It is illegal to declare buffer variables at global scope
13  *   (outside a block)."
14  */
16 buffer vec4 a;
18 vec4 foo(void) {
19         return a;