From: Rob Clark Date: Wed, 27 Feb 2019 20:57:23 +0000 (-0500) Subject: freedreno/ir3: include nopN in expanded instruction count X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8e351ee3af63aad28d572cd5efb307a8e65e03d;p=mesa.git freedreno/ir3: include nopN in expanded instruction count Signed-off-by: Rob Clark --- diff --git a/src/freedreno/ir3/ir3.c b/src/freedreno/ir3/ir3.c index ed14c343faa..ee13291fb87 100644 --- a/src/freedreno/ir3/ir3.c +++ b/src/freedreno/ir3/ir3.c @@ -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)