pan/midgard: Print invert modifier
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 26 Jul 2019 21:59:00 +0000 (14:59 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 2 Aug 2019 16:57:15 +0000 (09:57 -0700)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_print.c

index a950c13c93d28b9ea5418ab4b52e7a1b6b853d59..347c35e3f3614759eecfb97e9c56b4122fd1be72 100644 (file)
@@ -83,6 +83,9 @@ mir_print_instruction(midgard_instruction *ins)
                 assert(0);
         }
 
+        if (ins->invert)
+                printf(".not");
+
         ssa_args *args = &ins->ssa_args;
 
         printf(" %d, ", args->dest);