SPIRV-Cross/shaders-msl/comp/builtins.comp
2017-09-29 12:16:53 +02:00

13 lines
350 B
Plaintext

#version 310 es
layout(local_size_x = 8, local_size_y = 4, local_size_z = 2) in;
void main()
{
uvec3 local_id = gl_LocalInvocationID;
uvec3 global_id = gl_GlobalInvocationID;
uint local_index = gl_LocalInvocationIndex;
uvec3 work_group_size = gl_WorkGroupSize;
uvec3 num_work_groups = gl_NumWorkGroups;
uvec3 work_group_id = gl_WorkGroupID;
}