mirror of
https://github.com/libretro/RetroArch
synced 2025-03-12 04:14:23 +00:00
git-subtree-dir: deps/SPIRV-Cross git-subtree-split: d4b0625cbd7377e720b4fa1d63e6a3c09da5db63
19 lines
291 B
Plaintext
19 lines
291 B
Plaintext
#version 310 es
|
|
layout(local_size_x = 1) in;
|
|
|
|
layout(binding = 0, std430) buffer SSBO0
|
|
{
|
|
ivec4 inputs[];
|
|
};
|
|
|
|
layout(binding = 1, std430) buffer SSBO1
|
|
{
|
|
ivec4 outputs[];
|
|
};
|
|
|
|
void main()
|
|
{
|
|
uint ident = gl_GlobalInvocationID.x;
|
|
outputs[ident] = ivec4(bvec4(inputs[ident] & 0x3));
|
|
}
|