anv: disable non uniform indexing of UBOs

The feature we wanted to enable in 710393b3aa was
descriptorBindingUniformBufferUpdateAfterBind.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 710393b3aa ("anv: enable UBO indexing")
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17200>
(cherry picked from commit 3e247cd05f)
This commit is contained in:
Lionel Landwerlin 2022-06-23 10:33:33 +03:00 committed by Dylan Baker
parent 05d8bc7f81
commit 2a453ba93f
2 changed files with 2 additions and 2 deletions

View file

@ -283,7 +283,7 @@
"description": "anv: disable non uniform indexing of UBOs",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "710393b3aa4a99d446db0c41ef23eb44332332b4"
},

View file

@ -1387,7 +1387,7 @@ anv_get_physical_device_features_1_2(struct anv_physical_device *pdevice,
f->shaderInputAttachmentArrayDynamicIndexing = false;
f->shaderUniformTexelBufferArrayDynamicIndexing = descIndexing;
f->shaderStorageTexelBufferArrayDynamicIndexing = descIndexing;
f->shaderUniformBufferArrayNonUniformIndexing = descIndexing;
f->shaderUniformBufferArrayNonUniformIndexing = false;
f->shaderSampledImageArrayNonUniformIndexing = descIndexing;
f->shaderStorageBufferArrayNonUniformIndexing = descIndexing;
f->shaderStorageImageArrayNonUniformIndexing = descIndexing;