SPIRV-Cross/reference/shaders/comp/coherent-block.comp
2017-08-28 09:02:08 +02:00

14 lines
221 B
Plaintext

#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
layout(binding = 1, std430) coherent restrict writeonly buffer SSBO
{
vec4 value;
} _10;
void main()
{
_10.value = vec4(20.0);
}