SPIRV-Cross/shaders-hlsl/comp/num-workgroups-alone.comp
2018-02-05 10:29:20 +01:00

14 lines
154 B
Plaintext

#version 310 es
layout(local_size_x = 1) in;
layout(std430, binding = 0) buffer SSBO
{
uvec3 outdata;
};
void main()
{
outdata = gl_NumWorkGroups;
}