vulkan_common: unbreak build with Vulkan-Headers 1.3.274
src/video_core/vulkan_common/vulkan_wrapper.cpp:293:13: error: enumeration value 'VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR' not handled in switch [-Werror,-Wswitch] switch (result) { ^~~~~~
This commit is contained in:
parent
345ec25532
commit
310834aea2
|
@ -377,6 +377,8 @@ const char* ToString(VkResult result) noexcept {
|
||||||
return "VK_OPERATION_DEFERRED_KHR";
|
return "VK_OPERATION_DEFERRED_KHR";
|
||||||
case VkResult::VK_OPERATION_NOT_DEFERRED_KHR:
|
case VkResult::VK_OPERATION_NOT_DEFERRED_KHR:
|
||||||
return "VK_OPERATION_NOT_DEFERRED_KHR";
|
return "VK_OPERATION_NOT_DEFERRED_KHR";
|
||||||
|
case VkResult::VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR:
|
||||||
|
return "VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR";
|
||||||
case VkResult::VK_PIPELINE_COMPILE_REQUIRED_EXT:
|
case VkResult::VK_PIPELINE_COMPILE_REQUIRED_EXT:
|
||||||
return "VK_PIPELINE_COMPILE_REQUIRED_EXT";
|
return "VK_PIPELINE_COMPILE_REQUIRED_EXT";
|
||||||
case VkResult::VK_RESULT_MAX_ENUM:
|
case VkResult::VK_RESULT_MAX_ENUM:
|
||||||
|
|
Loading…
Reference in a new issue