From: Jason Ekstrand Date: Thu, 4 Jun 2015 16:06:59 +0000 (-0700) Subject: vk/device: Dissalow device destruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f90e56e42eb1ca3f2c43a8339657dd964c5e743;p=mesa.git vk/device: Dissalow device destruction --- diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 654dc872bf6..0f511917205 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -414,6 +414,9 @@ VkResult anv_DestroyDevice( { struct anv_device *device = (struct anv_device *) _device; + /* FIXME: We should make device destruction actually safe. */ + return VK_UNSUPPORTED; + anv_compiler_destroy(device->compiler);