ir3: Quiet unused variable warning

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21195>
This commit is contained in:
Rob Clark
2023-02-06 11:19:37 -08:00
committed by Marge Bot
parent 727afda21f
commit eaf272aa93
+1 -1
View File
@@ -2012,7 +2012,7 @@ ir3_COV(struct ir3_block *block, struct ir3_instruction *src, type_t src_type,
{
struct ir3_instruction *instr = ir3_instr_create(block, OPC_MOV, 1, 1);
unsigned dst_flags = (type_size(dst_type) < 32) ? IR3_REG_HALF : 0;
unsigned src_flags = (type_size(src_type) < 32) ? IR3_REG_HALF : 0;
ASSERTED unsigned src_flags = (type_size(src_type) < 32) ? IR3_REG_HALF : 0;
assert((src->dsts[0]->flags & IR3_REG_HALF) == src_flags);