mirror of
https://github.com/libretro/RetroArch
synced 2025-02-08 06:40:14 +00:00
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
13 lines
358 B
Plaintext
13 lines
358 B
Plaintext
#version 310 es
|
|
layout(local_size_x = 1) in;
|
|
|
|
layout(rgba8, binding = 0) uniform readonly mediump image2D uImageIn;
|
|
layout(rgba8, binding = 1) uniform writeonly mediump image2D uImageOut;
|
|
|
|
void main()
|
|
{
|
|
vec4 v = imageLoad(uImageIn, ivec2(gl_GlobalInvocationID.xy) + imageSize(uImageIn));
|
|
imageStore(uImageOut, ivec2(gl_GlobalInvocationID.xy), v);
|
|
}
|
|
|