summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-30 16:26:51 -0700
committerEric Anholt <[email protected]>2014-10-01 17:03:35 -0700
commit0c8c7d32f0e7ab691225e9630fc2ff20a25c0175 (patch)
treec231e0b9271ec5df7c4d5f4e0036cb5e8a4f7f26 /src/gallium/drivers
parent25266b2c1185874494309ed4962ffd51350f7ba2 (diff)
vc4: Fix compiler warning
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu_disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu_disasm.c b/src/gallium/drivers/vc4/vc4_qpu_disasm.c
index 403a18e6531..65fe6dcec95 100644
--- a/src/gallium/drivers/vc4/vc4_qpu_disasm.c
+++ b/src/gallium/drivers/vc4/vc4_qpu_disasm.c
@@ -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));
}
}