summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/convert_d32f_to_abgr8.frag
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-18 15:22:14 +0200
committerGitHub <noreply@github.com>2023-10-18 15:22:14 +0200
commitc5f1ec8040f951f35d0d965c26fe3c953d2a8cc8 (patch)
tree8b06b4ea8a82f73ae546c288b995a8fc629f7ec3 /src/video_core/host_shaders/convert_d32f_to_abgr8.frag
parentMerge pull request #11791 from german77/bufferx (diff)
parentChanges based on hardware tests (diff)
downloadyuzu-c5f1ec8040f951f35d0d965c26fe3c953d2a8cc8.tar
yuzu-c5f1ec8040f951f35d0d965c26fe3c953d2a8cc8.tar.gz
yuzu-c5f1ec8040f951f35d0d965c26fe3c953d2a8cc8.tar.bz2
yuzu-c5f1ec8040f951f35d0d965c26fe3c953d2a8cc8.tar.lz
yuzu-c5f1ec8040f951f35d0d965c26fe3c953d2a8cc8.tar.xz
yuzu-c5f1ec8040f951f35d0d965c26fe3c953d2a8cc8.tar.zst
yuzu-c5f1ec8040f951f35d0d965c26fe3c953d2a8cc8.zip
Diffstat (limited to 'src/video_core/host_shaders/convert_d32f_to_abgr8.frag')
-rw-r--r--src/video_core/host_shaders/convert_d32f_to_abgr8.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/host_shaders/convert_d32f_to_abgr8.frag b/src/video_core/host_shaders/convert_d32f_to_abgr8.frag
index 04cfef8b5..4e5a9f955 100644
--- a/src/video_core/host_shaders/convert_d32f_to_abgr8.frag
+++ b/src/video_core/host_shaders/convert_d32f_to_abgr8.frag
@@ -9,6 +9,6 @@ layout(location = 0) out vec4 color;
void main() {
ivec2 coord = ivec2(gl_FragCoord.xy);
- float depth = textureLod(depth_tex, coord, 0).r;
+ float depth = texelFetch(depth_tex, coord, 0).r;
color = vec4(depth, depth, depth, 1.0);
}