vk: Add a couple vk_error calls
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user