Browse Source

[vk, qcom] Removed 500.800.51 compilling parallel restriction

lizzie/evil-meow-meow
CamilleLaVey 7 months ago
committed by lizzie
parent
commit
48ea546f5c
  1. 9
      src/video_core/vulkan_common/vulkan_device.cpp

9
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) {

Loading…
Cancel
Save