vk: Add a couple vk_error calls

This commit is contained in:
Jason Ekstrand
2015-06-10 21:04:13 -07:00
parent 7153b56abc
commit c8b62d109b
2 changed files with 2 additions and 2 deletions

View File

@@ -1221,7 +1221,7 @@ VkResult anv_GetObjectInfo(
return VK_SUCCESS;
default:
return VK_UNSUPPORTED;
return vk_error(VK_UNSUPPORTED);
}
}

View File

@@ -302,6 +302,6 @@ VkResult anv_GetFormatInfo(
return VK_SUCCESS;
default:
return VK_ERROR_INVALID_VALUE;
return vk_error(VK_ERROR_INVALID_VALUE);
}
}