mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
vk: Check for cyclic references if sampler is marked as do-not-cache.
- Usually an indication of surface/texture cache interaction.
This commit is contained in:
parent
eee2237e19
commit
70642484cd
1 changed files with 1 additions and 1 deletions
|
@ -1418,7 +1418,7 @@ void VKGSRender::end()
|
|||
check_heap_status(VK_HEAP_CHECK_TEXTURE_UPLOAD_STORAGE);
|
||||
*sampler_state = m_texture_cache.upload_texture(*m_current_command_buffer, rsx::method_registers.vertex_textures[i], m_rtts);
|
||||
|
||||
if (sampler_state->is_cyclic_reference)
|
||||
if (sampler_state->is_cyclic_reference || sampler_state->external_subresource_desc.do_not_cache)
|
||||
{
|
||||
check_for_cyclic_refs |= true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue