Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git] / Test / spv.1.6.specConstant.comp
1 #version 450
2
3 layout(local_size_x_id = 18, local_size_z_id = 19) in;
4 layout(local_size_x = 32, local_size_y = 32) in;
5
6 buffer bn {
7     uint a;
8 } bi;
9
10 void foo(uvec3 wgs)
11 {
12     bi.a = wgs.x * gl_WorkGroupSize.y * wgs.z;
13 }
14
15 void main()
16 {
17     foo(gl_WorkGroupSize);
18 }