anv: don't crash on vkDestroyDevice(NULL)
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 25 Jul 2018 18:43:24 +0000 (19:43 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 25 Jul 2018 20:04:30 +0000 (21:04 +0100)
commitaa59f9c8bc6796796487dd74b7fd568186b38350
tree67a9d3bfc1ad2902ed9110029edd4d7f447c7158
parent270a44040cd5746c6f7c20303358c2a9984440db
anv: don't crash on vkDestroyDevice(NULL)

CovID: 1438132
Fixes: a99c9e63a07477634ab73 "anv: finish the binding_table_pool on
                              destroyDevice when use_softpin"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
src/intel/vulkan/anv_device.c