aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/host_shaders/blit_depth.frag
blob: 9e19c767aa09752c15184b799a0bd93e2977e86a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#version 450 core

layout(binding = 0) uniform sampler2D depth_tex;

layout(location = 0) in vec2 texcoord;

void main() {
    gl_FragDepth = textureLod(depth_tex, texcoord, 0).r;
}