anv/descriptor_set: Only vma_heap_finish if we have a descriptor buffer
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 24 Apr 2019 02:35:30 +0000 (21:35 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 24 Apr 2019 05:40:27 +0000 (05:40 +0000)
commit3d33c13eca2ef2e643020d3d1b27b96ae2e770e5
tree363ff36162fb94af624b455115a7702d639fcc12
parent0bc1942c9ddce4e796322a7561f06af5dec0decd
anv/descriptor_set: Only vma_heap_finish if we have a descriptor buffer

Fixes: 7bb34ecff98 "anv: release memory allocated by bo_heap when..."
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_descriptor_set.c