mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
parent
b0c7ca6d1f
commit
be4b71b805
1 changed files with 10 additions and 0 deletions
|
@ -2114,6 +2114,16 @@ void VKGSRender::prepare_rtts(rsx::framebuffer_creation_context context)
|
|||
flush_command_queue();
|
||||
}
|
||||
|
||||
if (!m_rtts.superseded_surfaces.empty())
|
||||
{
|
||||
for (auto& surface : m_rtts.superseded_surfaces)
|
||||
{
|
||||
m_texture_cache.discard_framebuffer_memory_region(*m_current_command_buffer, surface->get_memory_range());
|
||||
}
|
||||
|
||||
m_rtts.superseded_surfaces.clear();
|
||||
}
|
||||
|
||||
const auto color_fmt_info = get_compatible_gcm_format(m_framebuffer_layout.color_format);
|
||||
for (u8 index : m_draw_buffers)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue