I am uploading a NMU to fix this.
Please find the debdiff attached.
diff -Nru yuzu-0-1335+ds/debian/changelog yuzu-0-1335+ds/debian/changelog
--- yuzu-0-1335+ds/debian/changelog     2023-11-01 22:22:28.000000000 +0000
+++ yuzu-0-1335+ds/debian/changelog     2024-03-17 18:37:24.000000000 +0000
@@ -1,3 +1,10 @@
+yuzu (0-1335+ds-1.4) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Fix build with current vulkan-headers (Closes: #1064671)
+
+ -- Bastian Germann <b...@debian.org>  Sun, 17 Mar 2024 18:37:24 +0000
+
 yuzu (0-1335+ds-1.3) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru yuzu-0-1335+ds/debian/patches/series 
yuzu-0-1335+ds/debian/patches/series
--- yuzu-0-1335+ds/debian/patches/series        2023-11-01 22:22:28.000000000 
+0000
+++ yuzu-0-1335+ds/debian/patches/series        2024-03-17 18:35:09.000000000 
+0000
@@ -1,6 +1,7 @@
 update-savecontext-loadcontext.patch
 update-vulkan-headers.patch
 fixes-for-gcc-13.patch
+vulkan-headers.patch
 # Upstreamable patches
 cmake-mbedtls.patch
 #cmake-microprofile.patch
diff -Nru yuzu-0-1335+ds/debian/patches/vulkan-headers.patch 
yuzu-0-1335+ds/debian/patches/vulkan-headers.patch
--- yuzu-0-1335+ds/debian/patches/vulkan-headers.patch  1970-01-01 
00:00:00.000000000 +0000
+++ yuzu-0-1335+ds/debian/patches/vulkan-headers.patch  2024-03-17 
18:34:23.000000000 +0000
@@ -0,0 +1,25 @@
+Origin: 
https://gitlab.com/suyu-emu/suyu/-/commit/310834aea2fa3293ec30bad9f5f37ac7b5681b26
+From: Jan Beich <jbe...@freebsd.org>
+Date: Wed, 20 Dec 2023 01:07:26 +0100
+Subject: vulkan_common: unbreak build with Vulkan-Headers 1.3.274
+
+src/video_core/vulkan_common/vulkan_wrapper.cpp:293:13: error: enumeration 
value 'VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR' not handled in switch 
[-Werror,-Wswitch]
+    switch (result) {
+            ^~~~~~
+---
+ src/video_core/vulkan_common/vulkan_wrapper.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp 
b/src/video_core/vulkan_common/vulkan_wrapper.cpp
+index 70cf14afa9..2f78b8af08 100644
+--- a/src/video_core/vulkan_common/vulkan_wrapper.cpp
++++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp
+@@ -377,6 +377,8 @@ const char* ToString(VkResult result) noexcept {
+         return "VK_OPERATION_DEFERRED_KHR";
+     case VkResult::VK_OPERATION_NOT_DEFERRED_KHR:
+         return "VK_OPERATION_NOT_DEFERRED_KHR";
++    case VkResult::VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR:
++        return "VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR";
+     case VkResult::VK_PIPELINE_COMPILE_REQUIRED_EXT:
+         return "VK_PIPELINE_COMPILE_REQUIRED_EXT";
+     case VkResult::VK_RESULT_MAX_ENUM:

Reply via email to