@@ -40,11 +40,6 @@ extern "C" {
4040#ifdef __cplusplus
4141} // extern "C"
4242
43- // C++ only macros and utilities
44- #include < iostream>
45- #include < vulkan/vulkan.h>
46- #include " vk_enum_string_helper.h"
47-
4843// Macro to check Vulkan features and return error if not supported
4944// Note: This macro contains a return statement - use with care
5045#define CHECK_VULKAN_FEATURE (feature, name, optional ) \
@@ -62,21 +57,6 @@ extern "C" {
6257#define VKVS_CASE_STR (x ) case x: return VKVS_STRINGIFY (x)
6358#endif
6459
65- // Helper function to get string representation of VkResult codes
66- // Handles video-specific extension codes and falls back to generated string_VkResult()
67- inline const char * string_VkResult_Extended (VkResult result) {
68- // First try video-specific error codes
69- switch (result) {
70- VKVS_CASE_STR (VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR );
71- VKVS_CASE_STR (VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR );
72- VKVS_CASE_STR (VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR );
73- VKVS_CASE_STR (VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR );
74- default :
75- // Fall back to generated string_VkResult()
76- return string_VkResult (result);
77- }
78- }
79-
8060// Helper function to check if a VkResult indicates video profile/feature not supported
8161// Returns true for video-specific KHR errors (profile, format, codec, std version)
8262// and general Vulkan capability errors (format, feature, driver, extension)
0 commit comments