mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 19:30:12 +01:00
anv: enable UBO indexing
We added support but didn't expose it through the API. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:b704d03efd("anv: Do UBO loads with global addresses for bindless") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5426 Acked-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13097> (cherry picked from commit710393b3aa)
This commit is contained in:
parent
e46efe260d
commit
0da4403f2c
2 changed files with 3 additions and 3 deletions
|
|
@ -229,7 +229,7 @@
|
|||
"description": "anv: enable UBO indexing",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "b704d03efd47678613248fce3d63954f1fae61f8"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1325,14 +1325,14 @@ anv_get_physical_device_features_1_2(struct anv_physical_device *pdevice,
|
|||
f->shaderInputAttachmentArrayDynamicIndexing = false;
|
||||
f->shaderUniformTexelBufferArrayDynamicIndexing = descIndexing;
|
||||
f->shaderStorageTexelBufferArrayDynamicIndexing = descIndexing;
|
||||
f->shaderUniformBufferArrayNonUniformIndexing = false;
|
||||
f->shaderUniformBufferArrayNonUniformIndexing = descIndexing;
|
||||
f->shaderSampledImageArrayNonUniformIndexing = descIndexing;
|
||||
f->shaderStorageBufferArrayNonUniformIndexing = descIndexing;
|
||||
f->shaderStorageImageArrayNonUniformIndexing = descIndexing;
|
||||
f->shaderInputAttachmentArrayNonUniformIndexing = false;
|
||||
f->shaderUniformTexelBufferArrayNonUniformIndexing = descIndexing;
|
||||
f->shaderStorageTexelBufferArrayNonUniformIndexing = descIndexing;
|
||||
f->descriptorBindingUniformBufferUpdateAfterBind = false;
|
||||
f->descriptorBindingUniformBufferUpdateAfterBind = descIndexing;
|
||||
f->descriptorBindingSampledImageUpdateAfterBind = descIndexing;
|
||||
f->descriptorBindingStorageImageUpdateAfterBind = descIndexing;
|
||||
f->descriptorBindingStorageBufferUpdateAfterBind = descIndexing;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue