mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue