mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 20:30:25 +01:00
turnip: Fix newly introduced warning.
This commit is contained in:
parent
bcd15ab34e
commit
a0d62e4337
1 changed files with 2 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue