lima/ppir: fix debug logs in regalloc
authorErico Nunes <nunes.erico@gmail.com>
Sun, 21 Jul 2019 22:55:48 +0000 (00:55 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Tue, 23 Jul 2019 08:24:19 +0000 (08:24 +0000)
The macros already prepend "ppir: ", remove them from the actual strings
so it doesn't appear duplicated.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/ir/pp/regalloc.c

index 3bd8569cf151f6eca16eb8620234e4520e6641dd..a03f075fac2f67f53a07bc0383faa586860d1a01 100644 (file)
@@ -743,11 +743,11 @@ static bool ppir_regalloc_prog_try(ppir_compiler *comp, bool *spilled)
          /* Ask the outer loop to call back in. */
          *spilled = true;
 
-         ppir_debug("ppir: spilled register\n");
+         ppir_debug("spilled register\n");
          goto err_out;
       }
 
-      ppir_error("ppir: regalloc fail\n");
+      ppir_error("regalloc fail\n");
       goto err_out;
    }