From 48ea546f5c82e6ea2211bf101094afe079d8bf8a Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Tue, 25 Nov 2025 22:18:50 -0400 Subject: [PATCH] [vk, qcom] Removed 500.800.51 compilling parallel restriction --- src/video_core/vulkan_common/vulkan_device.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index b6ed8adaa4..50bdf18758 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -592,6 +592,10 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR } if (is_qualcomm) { + const u32 version = (properties.properties.driverVersion << 3) >> 3; + if (version < VK_MAKE_API_VERSION(0, 255, 615, 512)) { + has_broken_parallel_compiling = true; + } const size_t sampler_limit = properties.properties.limits.maxSamplerAllocationCount; if (sampler_limit > 0) { constexpr size_t MIN_SAMPLER_BUDGET = 1024U; @@ -604,11 +608,6 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR "allowing Eden to use {} (75%) to avoid heap exhaustion", sampler_limit, reserved, sampler_heap_budget); } - const u32 version = (properties.properties.driverVersion << 3) >> 3; - if (version < VK_MAKE_API_VERSION(0, 255, 615, 512) || - version == VK_MAKE_API_VERSION(0, 512, 800, 51)) { - has_broken_parallel_compiling = true; - } } if (extensions.sampler_filter_minmax && is_amd) {