tu: Enable robustBufferAccessUpdateAfterBind

This is supported and must be enabled when
descriptorBinding*UpdateAfterBind is active.

Fixes the following VVL error:
Validation Error: [ VUID-VkDeviceCreateInfo-robustBufferAccess-10247 ]
vkCreateDevice(): robustBufferAccessUpdateAfterBind is false, but both
robustBufferAccess and a descriptorBinding*UpdateAfterBind feature are
enabled.

Fixes: d9fcf5de55 ("turnip: Enable nonuniform descriptor indexing")
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36787>
(cherry picked from commit 31f6235126)
This commit is contained in:
Valentine Burley 2025-08-15 12:07:35 +02:00 committed by Eric Engestrom
parent 3403c49ba5
commit 390cf75610
2 changed files with 2 additions and 2 deletions

View file

@ -8624,7 +8624,7 @@
"description": "tu: Enable robustBufferAccessUpdateAfterBind",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "d9fcf5de55a7104037823e62284ace8a206c8898",
"notes": null

View file

@ -893,7 +893,7 @@ tu_get_physical_device_properties_1_2(struct tu_physical_device *pdevice,
p->shaderStorageBufferArrayNonUniformIndexingNative = true;
p->shaderStorageImageArrayNonUniformIndexingNative = true;
p->shaderInputAttachmentArrayNonUniformIndexingNative = false;
p->robustBufferAccessUpdateAfterBind = false;
p->robustBufferAccessUpdateAfterBind = true;
p->quadDivergentImplicitLod = false;
p->maxUpdateAfterBindDescriptorsInAllPools = max_descriptor_set_size;