ext_gpu_shader4: add compiler tests for everything
[piglit.git] / tests / spec / arb_shader_storage_buffer_object / compiler / layout-std430-within-block.frag
blob1161248f8c57767b234988a1694f03bef073c75f
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.20
4 // require_extensions: GL_ARB_shader_storage_buffer_object
5 // [end config]
7 /* From the GL_ARB_shader_storage_buffer_object:
8  *
9  *     "Layout qualifiers on member declarations cannot use the shared,
10  *      packed, std140, or std430 qualifiers."
11  */
13 #version 120
14 #extension GL_ARB_shader_storage_buffer_object: require
16 buffer ssbo {
17         layout(std430) vec4 a;
20 vec4 foo(void) {
21         return a;