mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 05:54:16 +00:00
501fd33b68
git-subtree-dir: deps/SPIRV-Cross git-subtree-split: d4b0625cbd7377e720b4fa1d63e6a3c09da5db63
15 lines
247 B
Plaintext
15 lines
247 B
Plaintext
#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));
|
|
}
|
|
|