summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 98a983d2d..f6a879a7b 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -2777,7 +2777,11 @@ private:
2777 break; 2777 break;
2778 } 2778 }
2779 case Tegra::Shader::TextureProcessMode::LZ: { 2779 case Tegra::Shader::TextureProcessMode::LZ: {
2780 texture = "textureLod(" + sampler + ", coords, 0.0)"; 2780 if (depth_compare && is_array) {
2781 texture = "texture(" + sampler + ", coords)";
2782 } else {
2783 texture = "textureLod(" + sampler + ", coords, 0.0)";
2784 }
2781 break; 2785 break;
2782 } 2786 }
2783 case Tegra::Shader::TextureProcessMode::LL: { 2787 case Tegra::Shader::TextureProcessMode::LL: {