projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcd15ab
)
turnip: Fix newly introduced warning.
author
Bas Nieuwenhuizen
<basni@chromium.org>
Thu, 9 Aug 2018 18:45:49 +0000
(20:45 +0200)
committer
Chia-I Wu
<olvaffe@gmail.com>
Mon, 11 Mar 2019 17:01:33 +0000
(10:01 -0700)
src/freedreno/vulkan/tu_device.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_device.c
b/src/freedreno/vulkan/tu_device.c
index 5e825634b65a2cc8e1faf57d6b2fc85b2c460042..fe10f048133f4a5c4fbfbee240c13be560da0ea1 100644
(file)
--- 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)) {