X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fvc4%2Fvc4_qpu_emit.c;h=cd9a4985d35a2d951eefd338200cef12711e1a23;hb=0bf667984b074105be62116fa76be42b2a422e28;hp=aaa3a0412160e70db2083fa437642e21f83b4646;hpb=19f571ba6d2c216e419b75737574919be0120830;p=mesa.git diff --git a/src/gallium/drivers/vc4/vc4_qpu_emit.c b/src/gallium/drivers/vc4/vc4_qpu_emit.c index aaa3a041216..cd9a4985d35 100644 --- a/src/gallium/drivers/vc4/vc4_qpu_emit.c +++ b/src/gallium/drivers/vc4/vc4_qpu_emit.c @@ -204,9 +204,9 @@ fixup_raddr_conflict(struct qblock *block, static void set_last_dst_pack(struct qblock *block, struct qinst *inst) { - bool had_pm = *last_inst(block) & QPU_PM; - bool had_ws = *last_inst(block) & QPU_WS; - uint32_t unpack = QPU_GET_FIELD(*last_inst(block), QPU_UNPACK); + MAYBE_UNUSED bool had_pm = *last_inst(block) & QPU_PM; + MAYBE_UNUSED bool had_ws = *last_inst(block) & QPU_WS; + MAYBE_UNUSED uint32_t unpack = QPU_GET_FIELD(*last_inst(block), QPU_UNPACK); if (!inst->dst.pack) return; @@ -419,7 +419,7 @@ vc4_generate_code_block(struct vc4_compile *c, break; } - bool handled_qinst_cond = false; + MAYBE_UNUSED bool handled_qinst_cond = false; switch (qinst->op) { case QOP_RCP: