VulkanHostDisplay: Use coherent memory type for downloads on Adreno

Otherwise it spends a ton of CPU time invalidating the buffer.
This commit is contained in:
Connor McLaughlin
2022-10-03 13:13:35 +10:00
parent 4dc3014fcd
commit 6af5a2486c
2 changed files with 39 additions and 34 deletions

View File

@ -124,6 +124,7 @@ protected:
VkBuffer m_readback_staging_buffer = VK_NULL_HANDLE;
u8* m_readback_staging_buffer_map = nullptr;
u32 m_readback_staging_buffer_size = 0;
bool m_is_adreno = false;
VkDescriptorSetLayout m_post_process_descriptor_set_layout = VK_NULL_HANDLE;
VkDescriptorSetLayout m_post_process_ubo_descriptor_set_layout = VK_NULL_HANDLE;