Просмотр исходного кода

Merge pull request #3703 from yuzu-emu/revert-3656-glsl-full-decompile

Revert "gl_shader_cache: Use CompileDepth::FullDecompile on GLSL"
Fernando Sahmkow 6 лет назад
Родитель
Сommit
2133482a17
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      src/video_core/renderer_opengl/gl_shader_cache.cpp

+ 1 - 3
src/video_core/renderer_opengl/gl_shader_cache.cpp

@@ -34,8 +34,6 @@
 namespace OpenGL {
 namespace OpenGL {
 
 
 using Tegra::Engines::ShaderType;
 using Tegra::Engines::ShaderType;
-using VideoCommon::Shader::CompileDepth;
-using VideoCommon::Shader::CompilerSettings;
 using VideoCommon::Shader::ProgramCode;
 using VideoCommon::Shader::ProgramCode;
 using VideoCommon::Shader::Registry;
 using VideoCommon::Shader::Registry;
 using VideoCommon::Shader::ShaderIR;
 using VideoCommon::Shader::ShaderIR;
@@ -45,7 +43,7 @@ namespace {
 constexpr u32 STAGE_MAIN_OFFSET = 10;
 constexpr u32 STAGE_MAIN_OFFSET = 10;
 constexpr u32 KERNEL_MAIN_OFFSET = 0;
 constexpr u32 KERNEL_MAIN_OFFSET = 0;
 
 
-constexpr CompilerSettings COMPILER_SETTINGS{CompileDepth::FullDecompile};
+constexpr VideoCommon::Shader::CompilerSettings COMPILER_SETTINGS{};
 
 
 /// Gets the address for the specified shader stage program
 /// Gets the address for the specified shader stage program
 GPUVAddr GetShaderAddress(Core::System& system, Maxwell::ShaderProgram program) {
 GPUVAddr GetShaderAddress(Core::System& system, Maxwell::ShaderProgram program) {