ext_gpu_shader4: add compiler tests for everything
[piglit.git] / tests / spec / intel_shader_atomic_float_minmax / compiler / ssbo-atomicMax-float-fail.frag
blob0ca02a051fc34b9f9013b7734bfaed976656ac65
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.50
4 // require_extensions: GL_ARB_shader_storage_buffer_object GL_INTEL_shader_atomic_float_minmax
5 // [end config]
6 //
7 // The extension is supported by the implementation, but it is not enabled in
8 // the shader.  This should fail to compile.
10 #version 150
11 #extension GL_ARB_shader_storage_buffer_object: require
13 buffer bufblock {
14        float a;
17 out vec4 color;
19 void main()
21         color = vec4(atomicMax(a, 3.14159));