Files
eden/src/video_core/host_shaders/ssaa.frag
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
511 B
GLSL
Raw Normal View History

2026-06-10 08:06:09 +00:00
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#version 460
#extension GL_ARB_sample_shading : enable
#ifdef VULKAN
#define BINDING_COLOR_TEXTURE 1
#else // ^^^ Vulkan ^^^ // vvv OpenGL vvv
#define BINDING_COLOR_TEXTURE 0
#endif
layout (location = 0) out vec4 frag_color;
2026-06-10 08:34:19 +00:00
layout (binding = BINDING_COLOR_TEXTURE) uniform sampler2DMS input_texture;
2026-06-10 08:06:09 +00:00
void main() {
2026-06-10 08:34:19 +00:00
frag_color = texelFetch(input_texture, ivec2(gl_FragCoord.xy), gl_SampleID);
2026-06-10 08:06:09 +00:00
}