From 7f90e56e42eb1ca3f2c43a8339657dd964c5e743 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 4 Jun 2015 09:06:59 -0700 Subject: [PATCH] vk/device: Dissalow device destruction --- src/vulkan/device.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2