提交 af147ba1 编写于 作者: J jbauman42 提交者: Chinmay Garde

Update VK_KHX_external_memory dependency to KHR (#3992)

The extension was made official.
上级 fe0e123b
......@@ -63,8 +63,13 @@ std::string VulkanResultToString(VkResult result) {
case VK_RESULT_MAX_ENUM:
return "VK_RESULT_MAX_ENUM";
#if OS_FUCHSIA
#if VK_KHR_external_memory
case VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR:
return "VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR";
#elif VK_KHX_external_memory
case VK_ERROR_INVALID_EXTERNAL_HANDLE_KHX:
return "VK_ERROR_INVALID_EXTERNAL_HANDLE_KHX";
#endif
case VK_ERROR_OUT_OF_POOL_MEMORY_KHR:
return "VK_ERROR_OUT_OF_POOL_MEMORY_KHR";
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册