SPIRV-Cross/reference/shaders/asm/comp/specialization-constant-workgroup.asm.comp

14 lines
179 B
Plaintext

#version 310 es
layout(local_size_x = 9, local_size_y = 20, local_size_z = 4) in;
layout(binding = 0, std430) buffer SSBO
{
float a;
} _4;
void main()
{
_4.a += 1.0;
}