public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libplacebo/files/
Date: Sun,  6 Nov 2022 10:18:26 +0000 (UTC)	[thread overview]
Message-ID: <1667729885.e63fbde53d184b691cd879ab051b42c7e0841575.ionen@gentoo> (raw)

commit:     e63fbde53d184b691cd879ab051b42c7e0841575
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  6 10:17:13 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Nov  6 10:18:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63fbde5

media-libs/libplacebo: drop unused patches

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 ...43.0-vulkan-headers-1.2.140-compatibility.patch | 59 ----------------------
 .../libplacebo-2.72.0-fix-vulkan-undeclared.patch  | 33 ------------
 2 files changed, 92 deletions(-)

diff --git a/media-libs/libplacebo/files/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch b/media-libs/libplacebo/files/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch
deleted file mode 100644
index 8fa64744fd05..000000000000
--- a/media-libs/libplacebo/files/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 45e19e7bbbbfceb197d8826c775e16ef536a4565 Mon Sep 17 00:00:00 2001
-From: Niklas Haas <git@haasn.xyz>
-Date: Tue, 5 May 2020 00:13:49 +0200
-Subject: [PATCH] vulkan: get rid of deprecated enum members
-
-Maybe we should just get rid of the switch coverage check altogether. I
-wish we could somehow differentiate between enums defined in our code
-and enums defined externally.
-
-Fixes #71.
----
- src/vulkan/context.c   | 4 +++-
- src/vulkan/swapchain.c | 7 +------
- 2 files changed, 4 insertions(+), 7 deletions(-)
-
-diff --git a/src/vulkan/context.c b/src/vulkan/context.c
-index 10928a9..14a57cf 100644
---- a/src/vulkan/context.c
-+++ b/src/vulkan/context.c
-@@ -685,7 +685,6 @@ VkPhysicalDevice pl_vulkan_choose_device(struct pl_context *ctx,
-         [VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU]    = {"virtual",    3},
-         [VK_PHYSICAL_DEVICE_TYPE_CPU]            = {"software",   2},
-         [VK_PHYSICAL_DEVICE_TYPE_OTHER]          = {"other",      1},
--        [VK_PHYSICAL_DEVICE_TYPE_END_RANGE+1]    = {0},
-     };
- 
-     int best = 0;
-@@ -693,6 +692,9 @@ VkPhysicalDevice pl_vulkan_choose_device(struct pl_context *ctx,
-         VkPhysicalDeviceProperties props = {0};
-         GetPhysicalDeviceProperties(devices[i], &props);
-         VkPhysicalDeviceType t = props.deviceType;
-+        if (t > PL_ARRAY_SIZE(types))
-+            continue;
-+
-         PL_INFO(vk, "    GPU %d: %s (%s)", i, props.deviceName, types[t].name);
- 
-         if (params->surface) {
-diff --git a/src/vulkan/swapchain.c b/src/vulkan/swapchain.c
-index bf6fd54..6bf40dd 100644
---- a/src/vulkan/swapchain.c
-+++ b/src/vulkan/swapchain.c
-@@ -138,13 +138,8 @@ static bool vk_map_color_space(VkColorSpaceKHR space, struct pl_color_space *out
-         return false;
- #endif
- 
--    // Included to satisfy the switch coverage check
--    case VK_COLOR_SPACE_RANGE_SIZE_KHR:
--    case VK_COLOR_SPACE_MAX_ENUM_KHR:
--        break;
-+    default: return false;
-     }
--
--    return false;
- }
- 
- static bool pick_surf_format(const struct pl_gpu *gpu, const struct vk_ctx *vk,
--- 
-2.27.0
-

diff --git a/media-libs/libplacebo/files/libplacebo-2.72.0-fix-vulkan-undeclared.patch b/media-libs/libplacebo/files/libplacebo-2.72.0-fix-vulkan-undeclared.patch
deleted file mode 100644
index 15bac9718222..000000000000
--- a/media-libs/libplacebo/files/libplacebo-2.72.0-fix-vulkan-undeclared.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://bugs.gentoo.org/789498
-
-From ac44e8f14acbfd2810c46e07e38466673f0ad7e0 Mon Sep 17 00:00:00 2001
-From: Niklas Haas <git@haasn.xyz>
-Date: Tue, 23 Mar 2021 11:57:13 +0100
-Subject: [PATCH] vulkan: blacklist FUCHSIA strings
-
-Maybe one day we'll actually figure out how to make this python script
-exclude platform-specific stuff in a way that doesn't rely on hardcoding
-a list of strings to blacklist.
-
-One day.
-
-Fixes https://code.videolan.org/videolan/libplacebo/-/issues/131
----
- src/vulkan/utils_gen.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/vulkan/utils_gen.py b/src/vulkan/utils_gen.py
-index a4565f3..53195f2 100644
---- a/src/vulkan/utils_gen.py
-+++ b/src/vulkan/utils_gen.py
-@@ -155,7 +155,7 @@ def get_vkstructs(registry):
-         # Strings for platform-specific crap we want to blacklist as they will
-         # most likely cause build failures
-         blacklist_strs = [
--            'ANDROID', 'Surface', 'Win32', 'D3D12', 'GGP'
-+            'ANDROID', 'Surface', 'Win32', 'D3D12', 'GGP', 'FUCHSIA',
-         ]
- 
-         if any([ str in e.attrib['name'] for str in blacklist_strs ]):
--- 
-GitLab


             reply	other threads:[~2022-11-06 10:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-06 10:18 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-14  1:10 [gentoo-commits] repo/gentoo:master commit in: media-libs/libplacebo/files/ Ionen Wolkens
2023-08-04  1:29 Ionen Wolkens
2023-08-17 11:00 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1667729885.e63fbde53d184b691cd879ab051b42c7e0841575.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox