diff options
author | José Fonseca <[email protected]> | 2009-08-30 12:03:49 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-30 12:37:03 +0100 |
commit | ffe1b7bad82726da44bf91bd61ca62e5cf6645de (patch) | |
tree | 2afc43b12897667469de36453c478429a49243f1 /src/gallium/drivers/llvmpipe/lp_flush.c | |
parent | 3d305243938980af520c6d3e0ce02f4ee3a6126c (diff) |
llvmpipe: Texture cache is read-only. No need to flush.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_flush.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_flush.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_flush.c b/src/gallium/drivers/llvmpipe/lp_flush.c index 44b4696a131..b5c1c95bb73 100644 --- a/src/gallium/drivers/llvmpipe/lp_flush.c +++ b/src/gallium/drivers/llvmpipe/lp_flush.c @@ -51,12 +51,6 @@ llvmpipe_flush( struct pipe_context *pipe, draw_flush(llvmpipe->draw); - if (flags & PIPE_FLUSH_TEXTURE_CACHE) { - for (i = 0; i < llvmpipe->num_textures; i++) { - lp_flush_tex_tile_cache(llvmpipe->tex_cache[i]); - } - } - if (flags & PIPE_FLUSH_SWAPBUFFERS) { /* If this is a swapbuffers, just flush color buffers. * |