diff options
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_nir_tcs_workarounds.c | 1 | ||||
-rw-r--r-- | src/intel/vulkan/anv_batch_chain.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/intel/compiler/brw_nir_tcs_workarounds.c b/src/intel/compiler/brw_nir_tcs_workarounds.c index af7b7180431..174cf6eec88 100644 --- a/src/intel/compiler/brw_nir_tcs_workarounds.c +++ b/src/intel/compiler/brw_nir_tcs_workarounds.c @@ -138,7 +138,6 @@ brw_nir_apply_tcs_quads_workaround(nir_shader *nir) const unsigned num_end_preds = impl->end_block->predecessors->entries; nir_block *end_preds[num_end_preds]; unsigned i = 0; - struct set_entry *entry; set_foreach(impl->end_block->predecessors, entry) { end_preds[i++] = (nir_block *) entry->key; diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c index e08e07ad7bd..a9f8c5b79b1 100644 --- a/src/intel/vulkan/anv_batch_chain.c +++ b/src/intel/vulkan/anv_batch_chain.c @@ -89,7 +89,6 @@ anv_reloc_list_init_clone(struct anv_reloc_list *list, list->array_length * sizeof(*list->relocs)); memcpy(list->reloc_bos, other_list->reloc_bos, list->array_length * sizeof(*list->reloc_bos)); - struct set_entry *entry; set_foreach(other_list->deps, entry) { _mesa_set_add_pre_hashed(list->deps, entry->hash, entry->key); } @@ -205,7 +204,6 @@ anv_reloc_list_append(struct anv_reloc_list *list, list->num_relocs += other->num_relocs; - struct set_entry *entry; set_foreach(other->deps, entry) { _mesa_set_add_pre_hashed(list->deps, entry->hash, entry->key); } @@ -1135,7 +1133,6 @@ anv_execbuf_add_bo(struct anv_execbuf *exec, if (bos == NULL) return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); - struct set_entry *entry; struct anv_bo **bo = bos; set_foreach(relocs->deps, entry) { *bo++ = (void *)entry->key; |