diff options
author | Brian Paul <[email protected]> | 2016-08-15 16:33:16 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-08-16 08:24:52 -0600 |
commit | ce9c05a5934ae7ded58ee79b8acbdb6a16589e0d (patch) | |
tree | f19692b51d7e121a253b23b1aeca1a4275358a05 | |
parent | 06b23f747dd747f69efa7aba7256a0131346fe11 (diff) |
svga: remove incorrect buffer invalidation code
Fixes regression with team_fortress_2 trace.
This change has been in our in-house tree for some time.
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/gallium/drivers/svga/svga_screen_cache.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c index bce46df91d7..86a04136e64 100644 --- 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 { |