aux/vk: fix VK_ERROR_UNKNOWN warning from vk_result_string

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
This commit is contained in:
Simon Zeni 2024-07-03 15:34:29 -04:00 committed by Rylie Pavlik
parent ee7ed5d395
commit 641e456736

View file

@ -82,8 +82,6 @@ vk_result_string(VkResult code)
ENUM_TO_STR(VK_ERROR_UNKNOWN); // Only defined in 1.2 and above headers.
ENUM_TO_STR(VK_ERROR_FRAGMENTATION);
ENUM_TO_STR(VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS);
#else
case -13 /* VK_ERROR_UNKNOWN */: return "VK_ERROR_UNKNOWN"; // Has no guard.
#endif
#ifdef VK_VERSION_1_3
ENUM_TO_STR(VK_PIPELINE_COMPILE_REQUIRED);