vk/device: Actually allow destruction
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 Jun 2015 23:28:46 +0000 (16:28 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 Jun 2015 23:28:46 +0000 (16:28 -0700)
src/vulkan/device.c

index 731cd8f32a46368487e07709c49625c6bf8a8a17..4dc527e9f0f02f2211e1c1a6de93f1ed089fcc17 100644 (file)
@@ -434,9 +434,6 @@ 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);
 
    anv_queue_finish(&device->queue);