ext_gpu_shader4: add compiler tests for everything
[piglit.git] / tests / spec / arb_shader_storage_buffer_object / compiler / shader-storage-block-initializer.frag
blobc8c97621121ff51b5c714aba0ad8d5bfe99b2e04
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  *     "Buffer variables cannot have initializers"
13  */
15 buffer a {
16         vec4 b = vec4(1.0);
19 vec4 foo(void) {
20         return b;