diff --git a/debian/patches/revert-vulkan-1.3.238.patch b/debian/patches/revert-vulkan-1.3.238.patch new file mode 100644 index 0000000..14b9acf --- /dev/null +++ b/debian/patches/revert-vulkan-1.3.238.patch @@ -0,0 +1,43 @@ +Description: Revert Vulkan-Headers 1.3.238 requirement + They're not fully released yet as they are not part of the Vulkan SDK, + and are thus not packaged by Debian. + . + This reverts upstream commits 9f199c8b0b37cfb84084f4ee543e3829ab085b1a + and b60a93a9363da143c070887a5ddf741eb8dda544 +Author: Andrea Pappacoda +Bug-Debian: https://bugs.debian.org/1026768 +Forwarded: not-needed +Last-Update: 2022-12-27 + +--- yuzu-0-1284+ds.orig/CMakeLists.txt ++++ yuzu-0-1284+ds/CMakeLists.txt +@@ -208,7 +208,7 @@ find_package(libusb 1.0.24) + find_package(lz4 REQUIRED) + find_package(nlohmann_json 3.8 REQUIRED) + find_package(Opus 1.3) +-find_package(Vulkan 1.3.238) ++find_package(Vulkan 1.3.213) + find_package(ZLIB 1.2 REQUIRED) + find_package(zstd 1.5 REQUIRED) + +--- yuzu-0-1284+ds.orig/src/video_core/vulkan_common/vulkan_wrapper.cpp ++++ yuzu-0-1284+ds/src/video_core/vulkan_common/vulkan_wrapper.cpp +@@ -314,18 +314,6 @@ const char* ToString(VkResult result) no + return "VK_ERROR_VALIDATION_FAILED_EXT"; + case VkResult::VK_ERROR_INVALID_SHADER_NV: + return "VK_ERROR_INVALID_SHADER_NV"; +- case VkResult::VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR: +- return "VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR"; +- case VkResult::VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR: +- return "VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR"; +- case VkResult::VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR: +- return "VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR"; +- case VkResult::VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR: +- return "VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR"; +- case VkResult::VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR: +- return "VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR"; +- case VkResult::VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR: +- return "VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR"; + case VkResult::VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: + return "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT"; + case VkResult::VK_ERROR_FRAGMENTATION_EXT: diff --git a/debian/patches/series b/debian/patches/series index 76556ea..eb83550 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ cmake-mbedtls.patch # Debian-specific patches debian-git-revision.patch include-utility-header.patch +revert-vulkan-1.3.238.patch