X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Fmissing_workgroup_size.glsl;fp=tests%2Fglsl%2Fmissing_workgroup_size.glsl;h=376ebaad0f4d10795162229fffb6f010cc235c77;hb=ee6bbd30f8b4c7e9d73124272cc0eec03093ddec;hp=0000000000000000000000000000000000000000;hpb=abcd1fa06f9fab27c5934b4069523dd009862b18;p=libs%2Fgl.git diff --git a/tests/glsl/missing_workgroup_size.glsl b/tests/glsl/missing_workgroup_size.glsl new file mode 100644 index 00000000..376ebaad --- /dev/null +++ b/tests/glsl/missing_workgroup_size.glsl @@ -0,0 +1,10 @@ +#pragma MSP stage(compute) +layout(r32f) uniform image2D img; +void main() +{ + imageStore(img, ivec2(gl_GlobalInvocationID.xy), vec4(1.0)); +} + +/* Expected error: +:3: No workgroup size qualifier found +*/