File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,30 +66,10 @@ std::string VulkanResultToString(VkResult result) {
6666 return " VK_ERROR_INVALID_EXTERNAL_HANDLE" ;
6767 case VK_ERROR_OUT_OF_POOL_MEMORY:
6868 return " VK_ERROR_OUT_OF_POOL_MEMORY" ;
69-
70- #if VK_HEADER_VERSION >= 63
71- case VK_ERROR_NOT_PERMITTED_EXT:
72- return " VK_ERROR_NOT_PERMITTED_EXT" ;
73- #endif
74-
75- #if VK_HEADER_VERSION >= 72
76- case VK_ERROR_FRAGMENTATION_EXT:
77- return " VK_ERROR_FRAGMENTATION_EXT" ;
78- #endif
79-
80- #if OS_FUCHSIA
81- #if VK_KHR_external_memory
82- case VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR:
83- return " VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR" ;
84- #elif VK_KHX_external_memory
85- case VK_ERROR_INVALID_EXTERNAL_HANDLE_KHX:
86- return " VK_ERROR_INVALID_EXTERNAL_HANDLE_KHX" ;
87- #endif
88- case VK_ERROR_OUT_OF_POOL_MEMORY_KHR:
89- return " VK_ERROR_OUT_OF_POOL_MEMORY_KHR" ;
90- #endif
69+ default :
70+ return " Unknown Error" ;
9171 }
92- return " Unknown Error " ;
72+ return " " ;
9373}
9474
9575} // namespace vulkan
You can’t perform that action at this time.
0 commit comments