diff options
author | Rob Clark <[email protected]> | 2019-02-27 15:57:23 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-03-03 13:27:50 -0500 |
commit | c8e351ee3af63aad28d572cd5efb307a8e65e03d (patch) | |
tree | 4e84e3c14a2b405c5a8e8fbabd6a66e918bf3031 /src | |
parent | cb4e3e3ef6e47811303ad3413a4ab2048696a6f6 (diff) |
freedreno/ir3: include nopN in expanded instruction count
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/freedreno/ir3/ir3.c | 2 |
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) |