Welcome to mirror list, hosted at ThFree Co, Russian Federation.

coherent-block.comp « comp « shaders « opt « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bfab6bbea80f84737b22ad00d0d81ca8bee49a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
}