summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/spirv-cross/shaders/comp/mat3.comp
blob: 7c5bb1e4f5916b05e46e4637f9ce7079da41ce91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 310 es
layout(local_size_x = 1) in;

layout(std430, binding = 1) writeonly buffer SSBO2
{
    mat3 out_data[];
};

void main()
{
    uint ident = gl_GlobalInvocationID.x;
    out_data[ident] = mat3(vec3(10.0), vec3(20.0), vec3(40.0));
}