diff options
Diffstat (limited to 'src/compiler/nir/nir_print.c')
-rw-r--r-- | src/compiler/nir/nir_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index 76effa9..e504d88 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -793,7 +793,7 @@ print_phi_instr(nir_phi_instr *instr, print_state *state) FILE *fp = state->fp; print_dest(&instr->dest, state); fprintf(fp, " = phi "); - nir_foreach_phi_src(instr, src) { + nir_foreach_phi_src(src, instr) { if (&src->node != exec_list_get_head(&instr->srcs)) fprintf(fp, ", "); |