From 35cd6a1d99d02a4ed7b05e84c698bb3337667b4b Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 12 Mar 2025 15:55:54 -0500 Subject: [PATCH] nvk: Don't set filterMinmax properties prior to Maxwell B We disallow the feature but the CTS still expects the properties to be false as well. Part-of: --- src/nouveau/vulkan/nvk_physical_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 1854bdc8c7e..f60a0cfe2dc 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -924,8 +924,8 @@ nvk_get_device_properties(const struct nvk_instance *instance, .maxDescriptorSetUpdateAfterBindSampledImages = NVK_MAX_DESCRIPTORS, .maxDescriptorSetUpdateAfterBindStorageImages = NVK_MAX_DESCRIPTORS, .maxDescriptorSetUpdateAfterBindInputAttachments = NVK_MAX_DESCRIPTORS, - .filterMinmaxSingleComponentFormats = true, - .filterMinmaxImageComponentMapping = true, + .filterMinmaxSingleComponentFormats = info->cls_eng3d >= MAXWELL_B, + .filterMinmaxImageComponentMapping = info->cls_eng3d >= MAXWELL_B, .maxTimelineSemaphoreValueDifference = UINT64_MAX, .framebufferIntegerColorSampleCounts = sample_counts,