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:
Rob Clark
2015-02-03 15:52:53 -05:00
parent 49a938a265
commit 6855226653
+2 -1
View File
@@ -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++];
}