aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Vulkan/Shaders/ColorBlitMsFragmentShaderSource.frag
blob: 71145e029740a0bde402646716291a4cdb1f73d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#version 450 core

layout (binding = 0, set = 2) uniform sampler2DMS tex;

layout (location = 0) in vec2 tex_coord;
layout (location = 0) out vec4 colour;

void main()
{
    colour = texelFetch(tex, ivec2(tex_coord * vec2(textureSize(tex).xy)), gl_SampleID);
}