mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
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: 35f57a2739 ("pvr: increase value of maxPerStageDescriptorStorageBuffers")
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41270>
This commit is contained in:
parent
a3e3bf0ac2
commit
1027059baa
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue