yuzu-Ubuntu/debian/patches/revert-vulkan-1.3.238.patch

44 lines
2 KiB
Diff
Raw Normal View History

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 <andrea@pappacoda.it>
Bug-Debian: https://bugs.debian.org/1026768
Forwarded: not-needed
Last-Update: 2023-01-07
--- yuzu-0-1299+ds.orig/CMakeLists.txt
+++ yuzu-0-1299+ds/CMakeLists.txt
@@ -213,7 +213,7 @@ find_package(ZLIB 1.2 REQUIRED)
find_package(zstd 1.5 REQUIRED)
if (NOT YUZU_USE_EXTERNAL_VULKAN_HEADERS)
- find_package(Vulkan 1.3.238 REQUIRED)
+ find_package(Vulkan 1.3.213 REQUIRED)
endif()
if (ENABLE_LIBUSB)
--- yuzu-0-1299+ds.orig/src/video_core/vulkan_common/vulkan_wrapper.cpp
+++ yuzu-0-1299+ds/src/video_core/vulkan_common/vulkan_wrapper.cpp
@@ -331,18 +331,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: