From a0d62e4337e1bdbd918c4be997fed6b31c8a7e9e Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Thu, 9 Aug 2018 20:45:49 +0200 Subject: [PATCH] turnip: Fix newly introduced warning. --- src/freedreno/vulkan/tu_device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 5e825634b65..fe10f048133 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -171,6 +171,8 @@ tu_physical_device_init(struct tu_physical_device *device, default: if (instance->debug_flags & TU_DEBUG_STARTUP) tu_logi("Device '%s' is not supported.", device->name); + result = vk_errorf( + instance, VK_ERROR_INITIALIZATION_FAILED, "unsupported device"); goto fail; } if (tu_device_get_cache_uuid(device->gpu_id, device->cache_uuid)) { -- 2.30.2