projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06b23f7
)
svga: remove incorrect buffer invalidation code
author
Brian Paul
<brianp@vmware.com>
Mon, 15 Aug 2016 22:33:16 +0000
(16:33 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 16 Aug 2016 14:24:52 +0000
(08:24 -0600)
Fixes regression with team_fortress_2 trace.
This change has been in our in-house tree for some time.
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_screen_cache.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_screen_cache.c
b/src/gallium/drivers/svga/svga_screen_cache.c
index
bce46df
..
86a0413
100644
(file)
--- a/
src/gallium/drivers/svga/svga_screen_cache.c
+++ b/
src/gallium/drivers/svga/svga_screen_cache.c
@@
-558,11
+558,6
@@
svga_screen_surface_destroy(struct svga_screen *svgascreen,
* that case.
*/
if (SVGA_SURFACE_CACHE_ENABLED && key->cachable) {
-
- /* Invalidate the surface before putting it into the recycle pool */
- if (key->format != SVGA3D_BUFFER)
- sws->surface_invalidate(sws, *p_handle);
-
svga_screen_cache_add(svgascreen, key, p_handle);
}
else {