summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-04-15 09:17:46 +0200
committerGitHub <noreply@github.com>2020-04-15 09:17:46 +0200
commitab72696beb55fe4c5d668b0110b9acb638d5ce9d (patch)
tree92241a83bf467335ed2309c7cf92d3f5cc9950ca /src/video_core
parentMerge pull request #3654 from ReinUsesLisp/fix-fb-attach (diff)
parentgl_shader_cache: Use CompileDepth::FullDecompile on GLSL (diff)
downloadyuzu-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
Diffstat (limited to 'src/video_core')
-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) {