From 138be96301bede223cd141d7453c06142e5c8eb2 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sun, 10 Oct 2021 09:33:46 -0700 Subject: [PATCH] freedreno/ir3: Fix validation of subgroup macros They don't need to enforce that src types are all the same. Signed-off-by: Rob Clark Part-of: --- src/freedreno/ir3/ir3_validate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedreno/ir3/ir3_validate.c b/src/freedreno/ir3/ir3_validate.c index e2614c0e6cc..f56e3c0ad9f 100644 --- a/src/freedreno/ir3/ir3_validate.c +++ b/src/freedreno/ir3/ir3_validate.c @@ -199,6 +199,10 @@ validate_instr(struct ir3_validate_ctx *ctx, struct ir3_instruction *instr) /* pcopy sources have to match with their destination but can have * different sizes from each other. */ + } else if (instr->opc == OPC_ANY_MACRO || instr->opc == OPC_ALL_MACRO || + instr->opc == OPC_READ_FIRST_MACRO || + instr->opc == OPC_READ_COND_MACRO) { + /* nothing yet */ } else if (n > 0) { validate_assert(ctx, (last_reg->flags & IR3_REG_HALF) == (reg->flags & IR3_REG_HALF));