]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/missing_workgroup_size.glsl
Validate that compute shaders specify a workgroup size
[libs/gl.git] / tests / glsl / missing_workgroup_size.glsl
1 #pragma MSP stage(compute)
2 layout(r32f) uniform image2D img;
3 void main()
4 {
5         imageStore(img, ivec2(gl_GlobalInvocationID.xy), vec4(1.0));
6 }
7
8 /* Expected error:
9 <test>:3: No workgroup size qualifier found
10 */