anv: track descriptor set layout flags

To identify push descriptors.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19050>
This commit is contained in:
Lionel Landwerlin
2022-10-12 01:52:55 +03:00
committed by Marge Bot
parent d7f1569307
commit 8616f11a39
2 changed files with 4 additions and 0 deletions

View File

@@ -1708,6 +1708,8 @@ bool anv_descriptor_requires_bindless(const struct anv_physical_device *pdevice,
struct anv_descriptor_set_layout {
struct vk_object_base base;
VkDescriptorSetLayoutCreateFlags flags;
/* Descriptor set layouts can be destroyed at almost any time */
uint32_t ref_cnt;