SPIRV-Cross/shaders/comp/coherent-block.comp

13 lines
163 B
Plaintext
Raw Normal View History

2017-08-28 07:02:08 +00:00
#version 310 es
layout(local_size_x = 1) in;
layout(binding = 1) coherent restrict writeonly buffer SSBO
{
vec4 value;
};
void main()
{
value = vec4(20.0);
}