Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 968e69d

Browse files
authored
vulkan: Fix build issue due to missing VK_RESULT_RANGE_SIZE (#24829)
1 parent f751d04 commit 968e69d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vulkan/vulkan_interface.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ std::string VulkanResultToString(VkResult result) {
5858
return "VK_ERROR_VALIDATION_FAILED_EXT";
5959
case VK_ERROR_INVALID_SHADER_NV:
6060
return "VK_ERROR_INVALID_SHADER_NV";
61+
#if VK_HEADER_VERSION < 140
6162
case VK_RESULT_RANGE_SIZE:
6263
return "VK_RESULT_RANGE_SIZE";
64+
#endif
6365
case VK_RESULT_MAX_ENUM:
6466
return "VK_RESULT_MAX_ENUM";
6567
case VK_ERROR_INVALID_EXTERNAL_HANDLE:

0 commit comments

Comments
 (0)