summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-14 06:34:20 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-14 06:34:20 +0200
commit453d7419d92fc089c8a3c55e1c9ac344ebd161b3 (patch)
tree29512449b22713a2afe043852b889e4414b72d61 /src
parentMerge pull request #3636 from ReinUsesLisp/drop-vk-hpp (diff)
downloadyuzu-453d7419d92fc089c8a3c55e1c9ac344ebd161b3.tar
yuzu-453d7419d92fc089c8a3c55e1c9ac344ebd161b3.tar.gz
yuzu-453d7419d92fc089c8a3c55e1c9ac344ebd161b3.tar.bz2
yuzu-453d7419d92fc089c8a3c55e1c9ac344ebd161b3.tar.lz
yuzu-453d7419d92fc089c8a3c55e1c9ac344ebd161b3.tar.xz
yuzu-453d7419d92fc089c8a3c55e1c9ac344ebd161b3.tar.zst
yuzu-453d7419d92fc089c8a3c55e1c9ac344ebd161b3.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 6d2ff20f9..12c6dcfde 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -34,6 +34,8 @@
namespace OpenGL {
using Tegra::Engines::ShaderType;
+using VideoCommon::Shader::CompileDepth;
+using VideoCommon::Shader::CompilerSettings;
using VideoCommon::Shader::ProgramCode;
using VideoCommon::Shader::Registry;
using VideoCommon::Shader::ShaderIR;
@@ -43,7 +45,7 @@ namespace {
constexpr u32 STAGE_MAIN_OFFSET = 10;
constexpr u32 KERNEL_MAIN_OFFSET = 0;
-constexpr VideoCommon::Shader::CompilerSettings COMPILER_SETTINGS{};
+constexpr CompilerSettings COMPILER_SETTINGS{CompileDepth::FullDecompile};
/// Gets the address for the specified shader stage program
GPUVAddr GetShaderAddress(Core::System& system, Maxwell::ShaderProgram program) {