diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c index ed86b0d8e1..2347310c63 100644 --- a/gdk/gdkvulkancontext.c +++ b/gdk/gdkvulkancontext.c @@ -256,14 +256,14 @@ gdk_vulkan_strerror (VkResult result) case VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR: return "The specified video Std header version is not supported. (VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR)"; #endif -#if VK_HEADER_VERSION >= 243 - case VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR: - return "The specified Video Std parameters do not adhere to the syntactic or semantic requirements of the used video compression standard or implementation"; -#endif #if VK_HEADER_VERSION >= 246 case VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT: return "The provided binary shader code is not compatible with this device. (VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT)"; #endif +#if VK_HEADER_VERSION >= 274 + case VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR: + return "The specified Video Std parameters do not adhere to the syntactic or semantic requirements of the used video compression standard or implementation"; +#endif case VK_RESULT_MAX_ENUM: default: diff --git a/testsuite/tools/validate-data/invalid5.expected b/testsuite/tools/validate-data/invalid5.expected index ceb07aef99..66c2c3275f 100644 --- a/testsuite/tools/validate-data/invalid5.expected +++ b/testsuite/tools/validate-data/invalid5.expected @@ -1 +1 @@ -invalid5.ui:3:1 Required GTK version 5.10, current version is 4.13 +invalid5.ui:3:1 Required GTK version 5.10, current version is 4.14