mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
git-subtree-dir: deps/SPIRV-Cross git-subtree-split: 9ccd1aea4201ff5d79c09808567348d0d3ab0452
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));
|
|
}
|