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

View file

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