mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
vk: Add a couple vk_error calls
This commit is contained in:
parent
7153b56abc
commit
c8b62d109b
2 changed files with 2 additions and 2 deletions
|
|
@ -1221,7 +1221,7 @@ VkResult anv_GetObjectInfo(
|
|||
return VK_SUCCESS;
|
||||
|
||||
default:
|
||||
return VK_UNSUPPORTED;
|
||||
return vk_error(VK_UNSUPPORTED);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -302,6 +302,6 @@ VkResult anv_GetFormatInfo(
|
|||
return VK_SUCCESS;
|
||||
|
||||
default:
|
||||
return VK_ERROR_INVALID_VALUE;
|
||||
return vk_error(VK_ERROR_INVALID_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue