diff options
author | Mat M <mathew1800@gmail.com> | 2020-04-15 09:17:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 09:17:46 +0200 |
commit | ab72696beb55fe4c5d668b0110b9acb638d5ce9d (patch) | |
tree | 92241a83bf467335ed2309c7cf92d3f5cc9950ca | |
parent | Merge pull request #3654 from ReinUsesLisp/fix-fb-attach (diff) | |
parent | gl_shader_cache: Use CompileDepth::FullDecompile on GLSL (diff) | |
download | yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.tar yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.tar.gz yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.tar.bz2 yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.tar.lz yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.tar.xz yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.tar.zst yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 4 |
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) { |