freedreno/ir3: include nopN in expanded instruction count

Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Rob Clark
2019-02-27 15:57:23 -05:00
parent cb4e3e3ef6
commit c8e351ee3a
+1 -1
View File
@@ -873,7 +873,7 @@ void * ir3_assemble(struct ir3 *shader, struct ir3_info *info,
int ret = emit[opc_cat(instr->opc)](instr, dwords, info);
if (ret)
goto fail;
info->instrs_count += 1 + instr->repeat;
info->instrs_count += 1 + instr->repeat + instr->nop;
dwords += 2;
if (instr->flags & IR3_INSTR_SS)