compile/nir: Correct printing dest_type
Fixes: 0aa08ae2f673a36709c5485679d4c89a747ec0e9
nir: Split NIR_INTRINSIC_TYPE into separate src/dest indices
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7261>
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index bca020c..0790d02 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -908,7 +908,7 @@
}
case NIR_INTRINSIC_DEST_TYPE: {
- fprintf(fp, " src_type=");
+ fprintf(fp, " dest_type=");
print_alu_type(nir_intrinsic_dest_type(instr), state);
break;
}