mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12: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)
|
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
|
//TODO: Build clear commands into current renderpass descriptor set
|
||||||
if (!(mask & 0xF3)) return;
|
if (!(mask & 0xF3)) return;
|
||||||
if (m_current_present_image == 0xFFFF) return;
|
if (m_current_present_image == 0xFFFF) return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue