GPU/ShaderGen: Fix debug assert tripping with fbfetch

This commit is contained in:
Stenzek 2024-11-05 13:13:29 +10:00
parent 8bd0e6c3f7
commit bcd5cd0027
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ void ShaderGen::WriteHeader(std::stringstream& ss, bool enable_rov /* = false */
DebugAssert((!enable_rov && !enable_framebuffer_fetch && !enable_dual_source_blend) || 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) ||
(!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) if (m_shader_language == GPUShaderLanguage::GLSL || m_shader_language == GPUShaderLanguage::GLSLES)
ss << m_glsl_version_string << "\n\n"; ss << m_glsl_version_string << "\n\n";