d/patches: revert libvulkan-dev 1.3.238 requirement
This commit is contained in:
parent
a9ffd8ecff
commit
e4c2e42146
2 changed files with 44 additions and 0 deletions
43
debian/patches/revert-vulkan-1.3.238.patch
vendored
Normal file
43
debian/patches/revert-vulkan-1.3.238.patch
vendored
Normal file
|
@ -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 <andrea@pappacoda.it>
|
||||
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:
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -4,3 +4,4 @@ cmake-mbedtls.patch
|
|||
# Debian-specific patches
|
||||
debian-git-revision.patch
|
||||
include-utility-header.patch
|
||||
revert-vulkan-1.3.238.patch
|
||||
|
|
Loading…
Reference in a new issue