From 1027059baa2554afa8fa3ca4aa222861f9863a04 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Thu, 30 Apr 2026 01:02:13 +0800 Subject: [PATCH] pvr: increase maxPerStageResources for new maxPerStageDescriptorStorageBuffers When maxPerStageResources is less than 128, it must be at least the sum of maxPerStageDescriptorUniformBuffers, maxPerStageDescriptorStorageBuffers, maxPerStageDescriptorSampledImages, maxPerStageDescriptorStorageImages, maxPerStageDescriptorInputAttachments and maxColorAttachments. As maxPerStageDescriptorStorageBuffers is previously increased, the value of maxPerStageResources should be increased too. This fixes regression on two limit validation tests in the Vulkan CTS -- dEQP-VK.info.device_properties and dEQP-VK.api.info. vulkan1p2_limits_validation.general . Fixes: 35f57a27396c ("pvr: increase value of maxPerStageDescriptorStorageBuffers") Signed-off-by: Icenowy Zheng Reviewed-by: Luigi Santivetti Part-of: --- src/imagination/vulkan/pvr_physical_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imagination/vulkan/pvr_physical_device.c b/src/imagination/vulkan/pvr_physical_device.c index b7f35d9c4e2..f2df4f91d23 100644 --- a/src/imagination/vulkan/pvr_physical_device.c +++ b/src/imagination/vulkan/pvr_physical_device.c @@ -584,7 +584,7 @@ static bool pvr_physical_device_get_properties( .maxPerStageDescriptorSampledImages = 16, .maxPerStageDescriptorStorageImages = 4, .maxPerStageDescriptorInputAttachments = 4, - .maxPerStageResources = 44, + .maxPerStageResources = 48, .maxDescriptorSetSamplers = 3U * 16U, .maxDescriptorSetUniformBuffers = 3U * 12U, .maxDescriptorSetUniformBuffersDynamic = 8U,