Module: Mesa Branch: master Commit: 062eee7d33cba0c89b29c1b8d198f36b2f2bf579 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=062eee7d33cba0c89b29c1b8d198f36b2f2bf579
Author: Iago Toral Quiroga <[email protected]> Date: Tue Mar 30 10:30:22 2021 +0200 broadcom/compiler: dump instruction index when failing to pack instructions Reviewed-by: Alejandro PiƱeiro <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9918> --- src/broadcom/compiler/vir_to_qpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/broadcom/compiler/vir_to_qpu.c b/src/broadcom/compiler/vir_to_qpu.c index abb0d0ce2a5..1332f2e9163 100644 --- a/src/broadcom/compiler/vir_to_qpu.c +++ b/src/broadcom/compiler/vir_to_qpu.c @@ -419,7 +419,7 @@ v3d_vir_to_qpu(struct v3d_compile *c, struct qpu_reg *temp_registers) bool ok = v3d_qpu_instr_pack(c->devinfo, &inst->qpu, &c->qpu_insts[i++]); if (!ok) { - fprintf(stderr, "Failed to pack instruction:\n"); + fprintf(stderr, "Failed to pack instruction %d:\n", i); vir_dump_inst(c, inst); fprintf(stderr, "\n"); c->compilation_result = V3D_COMPILATION_FAILED; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
