projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: use C99 declaration in the for-loop set_foreach() macro
[mesa.git]
/
src
/
intel
/
compiler
/
brw_nir_tcs_workarounds.c
diff --git
a/src/intel/compiler/brw_nir_tcs_workarounds.c
b/src/intel/compiler/brw_nir_tcs_workarounds.c
index af7b7180431ef9274cf6f577c7af007fcda3c40a..174cf6eec881c75ce261ca5092f66c6ea2b47dd2 100644
(file)
--- 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;