From c8b62d109b9c4efc7bd493d220d959a16a456e5c Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 10 Jun 2015 21:04:13 -0700 Subject: [PATCH] vk: Add a couple vk_error calls --- src/vulkan/device.c | 2 +- src/vulkan/formats.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 8cb5b3f8c93..3df707429e1 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -1221,7 +1221,7 @@ VkResult anv_GetObjectInfo( return VK_SUCCESS; default: - return VK_UNSUPPORTED; + return vk_error(VK_UNSUPPORTED); } } diff --git a/src/vulkan/formats.c b/src/vulkan/formats.c index c5e52c47b5f..e915156c1be 100644 --- a/src/vulkan/formats.c +++ b/src/vulkan/formats.c @@ -302,6 +302,6 @@ VkResult anv_GetFormatInfo( return VK_SUCCESS; default: - return VK_ERROR_INVALID_VALUE; + return vk_error(VK_ERROR_INVALID_VALUE); } } -- 2.30.2