diff --git a/src/virtio/vulkan/vn_device.c b/src/virtio/vulkan/vn_device.c index a837755553f..9f51f91a5d4 100644 --- a/src/virtio/vulkan/vn_device.c +++ b/src/virtio/vulkan/vn_device.c @@ -273,7 +273,7 @@ vn_device_fix_create_info(const struct vn_device *dev, } break; default: - unreachable("unexpected external memory handle type"); + assert(!physical_dev->instance->renderer->info.has_dma_buf_import); break; } }