RetroArch/reference/opt/shaders/frag/sampler-ms.frag
aliaspider 501fd33b68 Squashed 'deps/SPIRV-Cross/' content from commit d4b0625cbd
git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: d4b0625cbd7377e720b4fa1d63e6a3c09da5db63
2018-02-02 11:53:59 +01:00

15 lines
364 B
GLSL

#version 310 es
precision mediump float;
precision highp int;
layout(binding = 0) uniform mediump sampler2DMS uSampler;
layout(location = 0) out vec4 FragColor;
void main()
{
ivec2 _17 = ivec2(gl_FragCoord.xy);
FragColor = ((texelFetch(uSampler, _17, 0) + texelFetch(uSampler, _17, 1)) + texelFetch(uSampler, _17, 2)) + texelFetch(uSampler, _17, 3);
}