From 8ee23ece2bd7382273a9b9c30e84d8ae8f18cb62 Mon Sep 17 00:00:00 2001 From: Arjob Mukherjee Date: Thu, 14 May 2026 15:04:11 +0530 Subject: [PATCH] pvr: increase maxPerStageDescriptorStorageBuffers to 16 Zink implementation splits `maxPerStageDescriptorStorageBuffers` between atomic buffers and `MaxShaderStorageBlocks` causing CTS tests to fail because there is not enough SSBO blocks. Also updated 'maxPerStageResources' for the current limits. Fixes the following tests: * KHR-GLES31.core.program_interface_query.ssb-types * KHR-GLES31.core.compute_shader.pipeline-compute-chain * KHR-GLES31.core.shader_storage_buffer_object.advanced-indirectAddressing-case1-cs * KHR-GLES31.core.shader_storage_buffer_object.advanced-usage-sync-cs * KHR-GLES31.core.shader_storage_buffer_object.advanced-indirectAddressing-case2-cs Signed-off-by: Arjob Mukherjee Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pvr_physical_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/imagination/vulkan/pvr_physical_device.c b/src/imagination/vulkan/pvr_physical_device.c index 68747d42a4c..c075760136d 100644 --- a/src/imagination/vulkan/pvr_physical_device.c +++ b/src/imagination/vulkan/pvr_physical_device.c @@ -591,11 +591,11 @@ static bool pvr_physical_device_get_properties( .maxBoundDescriptorSets = 4U, .maxPerStageDescriptorSamplers = 16, .maxPerStageDescriptorUniformBuffers = 12, - .maxPerStageDescriptorStorageBuffers = 8, + .maxPerStageDescriptorStorageBuffers = 16, .maxPerStageDescriptorSampledImages = 16, .maxPerStageDescriptorStorageImages = 4, .maxPerStageDescriptorInputAttachments = 4, - .maxPerStageResources = 48, + .maxPerStageResources = 56, .maxDescriptorSetSamplers = 3U * 16U, .maxDescriptorSetUniformBuffers = 3U * 12U, .maxDescriptorSetUniformBuffersDynamic = 8U,