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:
kd-11 2019-10-17 23:08:14 +03:00 committed by kd-11
parent eee2237e19
commit 70642484cd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}