mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
GPU/HW: Fix spec violation with Vulkan fbfetch
This commit is contained in:
parent
998f77c590
commit
e0911d7f54
|
@ -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));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue