freedreno/a2xx: fix increment in assert
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88883 Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
@@ -439,7 +439,8 @@ static int instr_emit_alu(struct ir2_instruction *instr, uint32_t *dwords,
|
||||
assert(sdst_reg->flags == dst_reg->flags);
|
||||
|
||||
if (src3_reg) {
|
||||
assert(src3_reg == instr->regs[reg++]);
|
||||
assert(src3_reg == instr->regs[reg]);
|
||||
reg++;
|
||||
} else {
|
||||
src3_reg = instr->regs[reg++];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user