OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c503381
)
radeonsi: fix missing num_L2_invalidates increment
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 7 Jun 2017 23:32:51 +0000
(
01:32
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 12 Jun 2017 16:24:37 +0000
(18:24 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_draw.c
b/src/gallium/drivers/radeonsi/si_state_draw.c
index
8508259
..
ec564c1
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/
src/gallium/drivers/radeonsi/si_state_draw.c
@@
-993,6
+993,7
@@
void si_emit_cache_flush(struct si_context *sctx)
rctx->flags &= ~(SI_CONTEXT_INV_GLOBAL_L2 |
SI_CONTEXT_WRITEBACK_GLOBAL_L2 |
SI_CONTEXT_INV_VMEM_L1);
+ sctx->b.num_L2_invalidates++;
}
/* Allocate memory for the fence. */