vc4: Fix compiler warning
authorEric Anholt <eric@anholt.net>
Tue, 30 Sep 2014 23:26:51 +0000 (16:26 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 2 Oct 2014 00:03:35 +0000 (17:03 -0700)
src/gallium/drivers/vc4/vc4_qpu_disasm.c

index 403a18e6531c2c449ca3ca325da6877d497d04a7..65fe6dcec953bc8bc63458111b55304dca30e5a7 100644 (file)
@@ -305,7 +305,7 @@ print_alu_src(uint64_t inst, uint32_t mux)
 
         if (unpack != QPU_UNPACK_NOP &&
             ((mux == QPU_MUX_A && !(inst & QPU_PM)) ||
-             (mux == QPU_MUX_R4) && (inst & QPU_PM))) {
+             (mux == QPU_MUX_R4 && (inst & QPU_PM)))) {
                 fprintf(stderr, ".%s", DESC(qpu_unpack, unpack));
         }
 }