projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb4e3e3
)
freedreno/ir3: include nopN in expanded instruction count
author
Rob Clark
<robdclark@gmail.com>
Wed, 27 Feb 2019 20:57:23 +0000
(15:57 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Sun, 3 Mar 2019 18:27:50 +0000
(13:27 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3.c
b/src/freedreno/ir3/ir3.c
index ed14c343faa48b616a2fef3051738868d029cee2..ee13291fb87d95b6435512270f2e77bde00bf141 100644
(file)
--- 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)