diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-07-15 20:31:24 +0200 |
---|---|---|
committer | Matthew Smith <matthew@gentoo.org> | 2022-07-15 20:44:34 +0000 |
commit | 36841780c9d66e2351366cb39d2196ece2fd53bc (patch) | |
tree | 545632da024bfde5150b39d477073905a413b11d /media-gfx/renderdoc | |
parent | net-dns/pdns: Version bump to 4.6.3 (diff) | |
download | gentoo-36841780c9d66e2351366cb39d2196ece2fd53bc.tar.gz gentoo-36841780c9d66e2351366cb39d2196ece2fd53bc.tar.bz2 gentoo-36841780c9d66e2351366cb39d2196ece2fd53bc.zip |
media-gfx/renderdoc: remove unused patch
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/26426
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'media-gfx/renderdoc')
-rw-r--r-- | media-gfx/renderdoc/files/renderdoc-1.18-check-api-ver.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/media-gfx/renderdoc/files/renderdoc-1.18-check-api-ver.patch b/media-gfx/renderdoc/files/renderdoc-1.18-check-api-ver.patch deleted file mode 100644 index a6af5645d14b..000000000000 --- a/media-gfx/renderdoc/files/renderdoc-1.18-check-api-ver.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 3d49524da4a28ecc1ee1a9b3f9ec455fc0263c81 Mon Sep 17 00:00:00 2001 -From: baldurk <baldurk@baldurk.org> -Date: Mon, 31 Jan 2022 19:28:08 +0000 -Subject: [PATCH] Don't enable functionality not supported by the current - physical device - ---- - .../driver/vulkan/wrappers/vk_device_funcs.cpp | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -diff --git a/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp b/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp -index 4d342e0123..a40c52d6ef 100644 ---- a/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp -+++ b/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp -@@ -3171,7 +3171,7 @@ bool WrappedVulkan::Serialise_vkCreateDevice(SerialiserType &ser, VkPhysicalDevi - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR, - }; - -- if(physProps.apiVersion >= VK_MAKE_VERSION(1, 2, 0)) -+ if(RDCMIN(m_EnabledExtensions.vulkanVersion, physProps.apiVersion) >= VK_MAKE_VERSION(1, 2, 0)) - { - VkPhysicalDeviceVulkan12Features avail12Features = { - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES, -@@ -3376,11 +3376,13 @@ bool WrappedVulkan::Serialise_vkCreateDevice(SerialiserType &ser, VkPhysicalDevi - - CheckDeviceExts(); - -+ uint32_t effectiveApiVersion = RDCMIN(m_EnabledExtensions.vulkanVersion, physProps.apiVersion); -+ - #undef CheckExt --#define CheckExt(name, ver) \ -- if(!strcmp(createInfo.ppEnabledExtensionNames[i], "VK_" #name) || physProps.apiVersion >= ver) \ -- { \ -- m_EnabledExtensions.ext_##name = true; \ -+#define CheckExt(name, ver) \ -+ if(!strcmp(createInfo.ppEnabledExtensionNames[i], "VK_" #name) || effectiveApiVersion >= ver) \ -+ { \ -+ m_EnabledExtensions.ext_##name = true; \ - } - - for(uint32_t i = 0; i < createInfo.enabledExtensionCount; i++) -@@ -3391,7 +3393,7 @@ bool WrappedVulkan::Serialise_vkCreateDevice(SerialiserType &ser, VkPhysicalDevi - // for cases where a promoted extension isn't supported as the extension itself, manually - // disable them when the feature bit is false. - -- if(physProps.apiVersion >= VK_MAKE_VERSION(1, 2, 0)) -+ if(effectiveApiVersion >= VK_MAKE_VERSION(1, 2, 0)) - { - if(supportedExtensions.find(VK_KHR_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME) == - supportedExtensions.end() && |