commit | 399731af25dd909b1e88f219e0bde1ce126b72df | [log] [tgz] |
---|---|---|
author | Lingfeng Yang <lfy@google.com> | Wed Mar 25 14:00:16 2020 -0700 |
committer | Lingfeng Yang <lfy@google.com> | Wed Mar 25 14:03:32 2020 -0700 |
tree | 94e5229f2d120c698d792ba326105715ef817a61 | |
parent | fdda6289fd40023b62e6b90a688fb3a09bd8f8af [diff] |
vulkan: Properly free guest-side handles for descriptor sets (host) bug: 145153816 We need to free the guest-side handle of VkDescriptorSet in case of vkResetDescriptorPool and vkDestroyDescriptorPool, or it's a potential memory leak. Also, pass vkFreeDescriptorSet to the host only if it makes sense. Test: host-side unit test (vulkanhal_unittests) dEQP-VK.binding_model* Change-Id: Ic5cfd4a5529285a3744bcd65dbba7e99b422f5df