GPU/HW: Fix spec violation with Vulkan fbfetch

This commit is contained in:
Stenzek 2024-07-29 17:24:24 +10:00
parent 998f77c590
commit e0911d7f54
No known key found for this signature in database
1 changed files with 4 additions and 5 deletions

View File

@ -896,11 +896,10 @@ void GPU_HW::SetVRAMRenderTarget()
}
else
{
g_gpu_device->SetRenderTarget(
m_vram_texture.get(), m_vram_depth_texture.get(),
((m_allow_shader_blend && !m_supports_framebuffer_fetch && !m_use_rov_for_shader_blend) ?
GPUPipeline::ColorFeedbackLoop :
GPUPipeline::NoRenderPassFlags));
g_gpu_device->SetRenderTarget(m_vram_texture.get(), m_vram_depth_texture.get(),
((m_allow_shader_blend && !m_use_rov_for_shader_blend) ?
GPUPipeline::ColorFeedbackLoop :
GPUPipeline::NoRenderPassFlags));
}
}