bgfx/3rdparty/glslang/Test/spv.specConstant.comp
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

14 lines
252 B
Plaintext

#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;
}