Module: Mesa Branch: master Commit: 681e99d11cf85638dc7a163c9096c6ea6eab1b62 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=681e99d11cf85638dc7a163c9096c6ea6eab1b62
Author: Vasily Khoruzhick <[email protected]> Date: Tue Aug 20 07:30:46 2019 -0700 lima/ppir: print register index and components number for spilled register It can be useful for debugging purposes Tested-by: Andreas Baierl <[email protected]> Reviewed-by: Qiang Yu <[email protected]> Reviewed-by: Erico Nunes <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]> --- src/gallium/drivers/lima/ir/pp/regalloc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/lima/ir/pp/regalloc.c b/src/gallium/drivers/lima/ir/pp/regalloc.c index 8df6058ec0a..dcefa1e6480 100644 --- a/src/gallium/drivers/lima/ir/pp/regalloc.c +++ b/src/gallium/drivers/lima/ir/pp/regalloc.c @@ -602,7 +602,9 @@ static bool ppir_regalloc_prog_try(ppir_compiler *comp, bool *spilled) /* Ask the outer loop to call back in. */ *spilled = true; - ppir_debug("spilled register\n"); + ppir_debug("spilled register %d/%d, num_components: %d\n", + chosen->regalloc_index, list_length(&comp->reg_list), + chosen->num_components); goto err_out; } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
