64
64
int prmcnt_arr[4] = {-1, -1, -1, -1};
65
65
bool cnt_found[4] = {false, false, false, false};
71
68
/* set_vertex_and_primitive_count intrinsics only appear in predecessors of the
72
69
* end block. So we don't need to walk all of them.
75
72
nir_block *block = (nir_block *) entry->key;
77
74
nir_foreach_instr_reverse(instr, block) {