Преглед изворни кода

Merge pull request #3656 from ReinUsesLisp/glsl-full-decompile

gl_shader_cache: Use CompileDepth::FullDecompile on GLSL
Mat M пре 6 година
родитељ
комит
ab72696beb
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/video_core/renderer_opengl/gl_shader_cache.cpp

+ 3 - 1
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) {