aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-04-27 16:58:18 -0700
committerMarge Bot <[email protected]>2020-04-28 20:06:49 +0000
commit6313b8d881e810f9ddd7f0499dddd7049e6cf958 (patch)
tree0a7edd59b20ef828f7b5575612215f88399c08cf /src/freedreno/ir3
parent8b3ac7084ab71807850416fc1324c5ca0a42e01e (diff)
freedreno/ir3/ra: use ir3_debug_print helper
Signed-off-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4780>
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r--src/freedreno/ir3/ir3_ra.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/freedreno/ir3/ir3_ra.c b/src/freedreno/ir3/ir3_ra.c
index 94386ed4694..d55753085a5 100644
--- a/src/freedreno/ir3/ir3_ra.c
+++ b/src/freedreno/ir3/ir3_ra.c
@@ -1537,20 +1537,14 @@ ir3_ra(struct ir3_shader_variant *v, struct ir3_instruction **precolor,
if (ret)
return ret;
- if (ir3_shader_debug & IR3_DBG_OPTMSGS) {
- printf("AFTER RA (1st pass):\n");
- ir3_print(v->ir);
- }
+ ir3_debug_print(v->ir, "AFTER RA (1st pass)");
/* Second pass, assign the scalar registers: */
ret = ir3_ra_pass(v, precolor, nprecolor, true);
if (ret)
return ret;
- if (ir3_shader_debug & IR3_DBG_OPTMSGS) {
- printf("AFTER RA (2nd pass):\n");
- ir3_print(v->ir);
- }
+ ir3_debug_print(v->ir, "AFTER RA (2st pass)");
#ifdef DEBUG
# define SANITY_CHECK DEBUG