[Mesa-dev] [PATCH mesa 2/2] anv: add missing extension errors in vk_errorf()
Eric Engestrom
eric.engestrom at imgtec.com
Thu Jan 26 13:48:18 UTC 2017
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
Feel free to reject this if you prefer to add extension errors when
each extension is implemented :)
---
src/intel/vulkan/anv_util.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/intel/vulkan/anv_util.c b/src/intel/vulkan/anv_util.c
index 289d01ecb0..6d75187065 100644
--- a/src/intel/vulkan/anv_util.c
+++ b/src/intel/vulkan/anv_util.c
@@ -89,7 +89,12 @@ __vk_errorf(VkResult error, const char *file, int line, const char *format, ...)
ERROR_CASE(VK_ERROR_FRAGMENTED_POOL)
/* Extension errors */
+ ERROR_CASE(VK_ERROR_SURFACE_LOST_KHR)
+ ERROR_CASE(VK_ERROR_NATIVE_WINDOW_IN_USE_KHR)
ERROR_CASE(VK_ERROR_OUT_OF_DATE_KHR)
+ ERROR_CASE(VK_ERROR_INCOMPATIBLE_DISPLAY_KHR)
+ ERROR_CASE(VK_ERROR_VALIDATION_FAILED_EXT)
+ ERROR_CASE(VK_ERROR_INVALID_SHADER_NV)
ERROR_CASE(VK_ERROR_OUT_OF_POOL_MEMORY_KHR)
default:
--
Cheers,
Eric
More information about the mesa-dev
mailing list