xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/spv.1.6.specConstant.comp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1#version 450
2
3layout(local_size_x_id = 18, local_size_z_id = 19) in;
4layout(local_size_x = 32, local_size_y = 32) in;
5
6buffer bn {
7    uint a;
8} bi;
9
10void foo(uvec3 wgs)
11{
12    bi.a = wgs.x * gl_WorkGroupSize.y * wgs.z;
13}
14
15void main()
16{
17    foo(gl_WorkGroupSize);
18}
19