From bcd5cd0027ea5781da8cb53e7136caac154edf97 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 5 Nov 2024 13:13:29 +1000 Subject: [PATCH] GPU/ShaderGen: Fix debug assert tripping with fbfetch --- src/util/shadergen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/shadergen.cpp b/src/util/shadergen.cpp index 1e8380c18..3bd263484 100644 --- a/src/util/shadergen.cpp +++ b/src/util/shadergen.cpp @@ -158,6 +158,7 @@ void ShaderGen::WriteHeader(std::stringstream& ss, bool enable_rov /* = false */ DebugAssert((!enable_rov && !enable_framebuffer_fetch && !enable_dual_source_blend) || (enable_rov && !enable_framebuffer_fetch && !enable_dual_source_blend) || (enable_rov && !enable_framebuffer_fetch && !enable_dual_source_blend) || + (!enable_rov && enable_framebuffer_fetch && !enable_dual_source_blend) || (!enable_rov && !enable_framebuffer_fetch && enable_dual_source_blend)); if (m_shader_language == GPUShaderLanguage::GLSL || m_shader_language == GPUShaderLanguage::GLSLES) ss << m_glsl_version_string << "\n\n";