mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 05:54:16 +00:00
13 lines
284 B
GLSL
13 lines
284 B
GLSL
|
#version 450
|
||
|
|
||
|
layout(rgba8, binding = 0) uniform readonly imageBuffer buf;
|
||
|
layout(rgba8, binding = 1) uniform writeonly imageBuffer bufOut;
|
||
|
|
||
|
layout(location = 0) out vec4 FragColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
FragColor = imageLoad(buf, 0);
|
||
|
imageStore(bufOut, int(gl_FragCoord.x), FragColor);
|
||
|
}
|