summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/spv.specConstant.comp
blob: e50f40d847eb60dda4f0991a32f2892ad3245251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 450

layout(local_size_x_id = 18, local_size_z_id = 19) in;
layout(local_size_x = 32, local_size_y = 32) in;

buffer bn {
    uint a;
} bi;

void main()
{
    bi.a = gl_WorkGroupSize.x * gl_WorkGroupSize.y * gl_WorkGroupSize.z;
}