SPIRV-Cross/reference/shaders/asm/comp/builtin-compute-bitcast.asm.comp
2018-09-11 09:43:28 +02:00

14 lines
231 B
Plaintext

#version 450
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
layout(binding = 0, std430) buffer BUF
{
int values[];
} _6;
void main()
{
_6.values[int(gl_WorkGroupID.y)] = int(gl_GlobalInvocationID.z);
}