mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
Vulkan : Ignore clear if surface target is set to CELL_GCM_SURFACE_TARGET_NONE (#2081)
This commit is contained in:
parent
be9cebbc8f
commit
e04de77f82
@ -745,6 +745,9 @@ void VKGSRender::on_exit()
|
||||
|
||||
void VKGSRender::clear_surface(u32 mask)
|
||||
{
|
||||
// Ignore clear if surface target is set to CELL_GCM_SURFACE_TARGET_NONE
|
||||
if (rsx::method_registers.surface_color_target() == rsx::surface_target::none) return;
|
||||
|
||||
//TODO: Build clear commands into current renderpass descriptor set
|
||||
if (!(mask & 0xF3)) return;
|
||||
if (m_current_present_image == 0xFFFF) return;
|
||||
|
Loading…
Reference in New Issue
Block a user