From c5324e9b2bdd5850547bd45cc98896b9562f5357 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 19 Oct 2022 08:23:06 -0400 Subject: [PATCH] zink: delete unused descriptor struct field Acked-by: Erik Faye-Lund Reviewed-by: Adam Jackson Part-of: --- src/gallium/drivers/zink/zink_descriptors.c | 1 - src/gallium/drivers/zink/zink_types.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/gallium/drivers/zink/zink_descriptors.c b/src/gallium/drivers/zink/zink_descriptors.c index ade9b3c..81e3206 100644 --- a/src/gallium/drivers/zink/zink_descriptors.c +++ b/src/gallium/drivers/zink/zink_descriptors.c @@ -444,7 +444,6 @@ zink_descriptor_program_init(struct zink_context *ctx, struct zink_program *pg) init_template_entry(shader, j, k, &entries[desc_set][entry_idx[desc_set]], &entry_idx[desc_set]); num_bindings[desc_set]++; has_bindings |= BITFIELD_BIT(desc_set); - pg->dd.real_binding_usage |= BITFIELD_BIT(j); } num_type_sizes[desc_set] = screen->compact_descriptors ? descriptor_program_num_sizes_compact(sizes, desc_set) : diff --git a/src/gallium/drivers/zink/zink_types.h b/src/gallium/drivers/zink/zink_types.h index 71130bf..1204913 100644 --- a/src/gallium/drivers/zink/zink_types.h +++ b/src/gallium/drivers/zink/zink_types.h @@ -354,7 +354,6 @@ struct zink_program_descriptor_data { bool fbfetch; uint8_t push_usage; uint8_t binding_usage; - uint8_t real_binding_usage; struct zink_descriptor_pool_key *pool_key[ZINK_DESCRIPTOR_TYPES]; //push set doesn't need one struct zink_descriptor_layout *layouts[ZINK_DESCRIPTOR_TYPES + 1]; VkDescriptorUpdateTemplate templates[ZINK_DESCRIPTOR_TYPES + 1]; -- 2.7.4