mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-15 00:11:06 +00:00
17 lines
361 B
GLSL
17 lines
361 B
GLSL
#version 450
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
layout(binding = 0) uniform sampler2DMS uTex;
|
|
|
|
void main()
|
|
{
|
|
FragColor =
|
|
texelFetch(uTex, ivec2(gl_FragCoord.xy), 0);
|
|
FragColor +=
|
|
texelFetch(uTex, ivec2(gl_FragCoord.xy), 1);
|
|
FragColor +=
|
|
texelFetch(uTex, ivec2(gl_FragCoord.xy), 2);
|
|
FragColor +=
|
|
texelFetch(uTex, ivec2(gl_FragCoord.xy), 3);
|
|
}
|