From b7d630af6bf8c12a84aed2e11fe938ba58154686 Mon Sep 17 00:00:00 2001 From: jpark37 Date: Fri, 29 Jul 2022 20:34:25 -0700 Subject: [PATCH] graphics-hook: Update VkResult strings --- plugins/win-capture/graphics-hook/vulkan-capture.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/win-capture/graphics-hook/vulkan-capture.h b/plugins/win-capture/graphics-hook/vulkan-capture.h index e036c7b2f..aee49580d 100644 --- a/plugins/win-capture/graphics-hook/vulkan-capture.h +++ b/plugins/win-capture/graphics-hook/vulkan-capture.h @@ -305,8 +305,11 @@ const char *result_to_str(VkResult result) VAL(VK_ERROR_TOO_MANY_OBJECTS); VAL(VK_ERROR_FORMAT_NOT_SUPPORTED); VAL(VK_ERROR_FRAGMENTED_POOL); + VAL(VK_ERROR_UNKNOWN); VAL(VK_ERROR_OUT_OF_POOL_MEMORY); VAL(VK_ERROR_INVALID_EXTERNAL_HANDLE); + VAL(VK_ERROR_FRAGMENTATION); + VAL(VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS); VAL(VK_ERROR_SURFACE_LOST_KHR); VAL(VK_ERROR_NATIVE_WINDOW_IN_USE_KHR); VAL(VK_SUBOPTIMAL_KHR); @@ -315,13 +318,8 @@ const char *result_to_str(VkResult result) VAL(VK_ERROR_VALIDATION_FAILED_EXT); VAL(VK_ERROR_INVALID_SHADER_NV); VAL(VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT); - VAL(VK_ERROR_FRAGMENTATION_EXT); VAL(VK_ERROR_NOT_PERMITTED_EXT); - VAL(VK_ERROR_INVALID_DEVICE_ADDRESS_EXT); VAL(VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT); - //VAL(VK_ERROR_OUT_OF_POOL_MEMORY_KHR); - //VAL(VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR); - VAL(VK_RESULT_MAX_ENUM); #undef VAL default: