aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/ir3/ir3.c2
1 files changed, 1 insertions, 1 deletions
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)