mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 00:32:46 +00:00
11 lines
311 B
GLSL
11 lines
311 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
layout(location = 0) out vec4 FragColor;
|
|
layout(binding = 0) uniform sampler2D uTexture;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texelFetchOffset(uTexture, ivec2(gl_FragCoord.xy), 0, ivec2(1, 1));
|
|
FragColor += texelFetchOffset(uTexture, ivec2(gl_FragCoord.xy), 0, ivec2(-1, 1));
|
|
}
|