vk/device: Dissalow device destruction
This commit is contained in:
@@ -414,6 +414,9 @@ VkResult anv_DestroyDevice(
|
|||||||
{
|
{
|
||||||
struct anv_device *device = (struct anv_device *) _device;
|
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_compiler_destroy(device->compiler);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user