mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 13:00:22 +01:00
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 <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13300>
This commit is contained in:
parent
e68d918ffb
commit
138be96301
1 changed files with 4 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue