summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu_emit.c b/src/gallium/drivers/vc4/vc4_qpu_emit.c
index 415d2b0dfd5..072b0b3017b 100644
--- a/src/gallium/drivers/vc4/vc4_qpu_emit.c
+++ b/src/gallium/drivers/vc4/vc4_qpu_emit.c
@@ -411,7 +411,7 @@ vc4_generate_code(struct qcompile *c)
case QOP_SGE:
case QOP_SLT:
fixup_raddr_conflict(c, src[0], &src[1]);
- queue(c, qpu_inst(qpu_a_SUB(qpu_ra(QPU_W_NOP),
+ queue(c, qpu_inst(qpu_a_FSUB(qpu_ra(QPU_W_NOP),
src[0], src[1]),
qpu_m_NOP()));
*last_inst(c) |= QPU_SF;