mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 03:40:03 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
15 lines
269 B
Plaintext
15 lines
269 B
Plaintext
#version 310 es
|
|
layout(local_size_x = 1) in;
|
|
|
|
layout(binding = 1) coherent restrict writeonly buffer SSBO
|
|
{
|
|
ivec4 value;
|
|
};
|
|
|
|
layout(r32i, binding = 3) coherent readonly restrict uniform mediump iimage2D uImage;
|
|
|
|
void main()
|
|
{
|
|
value = imageLoad(uImage, ivec2(10));
|
|
}
|