Skip to content

Commit

Permalink
GPU/ShaderGen: Fix debug assert tripping with fbfetch
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 5, 2024
1 parent 8bd0e6c commit bcd5cd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/shadergen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit bcd5cd0

Please sign in to comment.