nir/lower_tex: handle query lod with nir_lower_tex_packing_16 at lower_tex_packing
[mesa.git] / src / compiler / nir / nir_phi_builder.c
index 97edea777f4dfabfcc437effbc9d9fdba4a32698..f8de1d78fc97677d218ecf69037c3d7c5d73aa09 100644 (file)
@@ -132,8 +132,7 @@ nir_phi_builder_add_value(struct nir_phi_builder *pb, unsigned num_components,
 
    pb->iter_count++;
 
-   BITSET_WORD tmp;
-   BITSET_FOREACH_SET(i, tmp, defs, pb->num_blocks) {
+   BITSET_FOREACH_SET(i, defs, pb->num_blocks) {
       if (pb->work[i] < pb->iter_count)
          pb->W[w_end++] = pb->blocks[i];
       pb->work[i] = pb->iter_count;