aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/midgard/midgard_print.c')
-rw-r--r--src/panfrost/midgard/midgard_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c
index 1f8bd12680e..add40511d2f 100644
--- a/src/panfrost/midgard/midgard_print.c
+++ b/src/panfrost/midgard/midgard_print.c
@@ -34,7 +34,7 @@
static void
mir_print_index(int source)
{
- if (source < 0) {
+ if (source == ~0) {
printf("_");
return;
}