diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3.c')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3.c b/src/gallium/drivers/freedreno/ir3/ir3.c index 7d89142d7a1..d86dfca9d54 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3.c +++ b/src/gallium/drivers/freedreno/ir3/ir3.c @@ -688,6 +688,7 @@ struct ir3_instruction * ir3_instr_create2(struct ir3_block *block, struct ir3_instruction *instr = instr_create(block, nreg); instr->block = block; instr->category = category; + debug_assert(opc_cat(opc) == category); instr->opc = opc; insert_instr(block, instr); return instr; |