compile/nir: Correct printing dest_type

Fixes: 0aa08ae2f6
    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>
This commit is contained in:
Gert Wollny
2020-10-22 00:36:13 +02:00
committed by Marge Bot
parent 4e2fe34aa9
commit b739bb7168

View File

@@ -908,7 +908,7 @@ print_intrinsic_instr(nir_intrinsic_instr *instr, print_state *state)
}
case NIR_INTRINSIC_DEST_TYPE: {
fprintf(fp, " src_type=");
fprintf(fp, " dest_type=");
print_alu_type(nir_intrinsic_dest_type(instr), state);
break;
}