mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +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> (cherry picked from commit1027059baa)
This commit is contained in:
parent
015a904993
commit
62e7b2091e
2 changed files with 2 additions and 2 deletions
|
|
@ -2954,7 +2954,7 @@
|
|||
"description": "pvr: increase maxPerStageResources for new maxPerStageDescriptorStorageBuffers",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "35f57a27396c116fc5e9984ac1254d26b83ad2c4",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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