summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mat M2020-04-15 03:17:46 -0400
committerGravatar GitHub2020-04-15 03:17:46 -0400
commitab72696beb55fe4c5d668b0110b9acb638d5ce9d (patch)
tree92241a83bf467335ed2309c7cf92d3f5cc9950ca
parentMerge pull request #3654 from ReinUsesLisp/fix-fb-attach (diff)
parentgl_shader_cache: Use CompileDepth::FullDecompile on GLSL (diff)
downloadyuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.tar.gz
yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.tar.xz
yuzu-ab72696beb55fe4c5d668b0110b9acb638d5ce9d.zip
Merge pull request #3656 from ReinUsesLisp/glsl-full-decompile
gl_shader_cache: Use CompileDepth::FullDecompile on GLSL
Diffstat (limited to '')
-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 @@
34namespace OpenGL { 34namespace OpenGL {
35 35
36using Tegra::Engines::ShaderType; 36using Tegra::Engines::ShaderType;
37using VideoCommon::Shader::CompileDepth;
38using VideoCommon::Shader::CompilerSettings;
37using VideoCommon::Shader::ProgramCode; 39using VideoCommon::Shader::ProgramCode;
38using VideoCommon::Shader::Registry; 40using VideoCommon::Shader::Registry;
39using VideoCommon::Shader::ShaderIR; 41using VideoCommon::Shader::ShaderIR;
@@ -43,7 +45,7 @@ namespace {
43constexpr u32 STAGE_MAIN_OFFSET = 10; 45constexpr u32 STAGE_MAIN_OFFSET = 10;
44constexpr u32 KERNEL_MAIN_OFFSET = 0; 46constexpr u32 KERNEL_MAIN_OFFSET = 0;
45 47
46constexpr VideoCommon::Shader::CompilerSettings COMPILER_SETTINGS{}; 48constexpr CompilerSettings COMPILER_SETTINGS{CompileDepth::FullDecompile};
47 49
48/// Gets the address for the specified shader stage program 50/// Gets the address for the specified shader stage program
49GPUVAddr GetShaderAddress(Core::System& system, Maxwell::ShaderProgram program) { 51GPUVAddr GetShaderAddress(Core::System& system, Maxwell::ShaderProgram program) {