diff options
author | Keith Whitwell <[email protected]> | 2009-07-29 07:40:50 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-08-18 16:55:10 +0100 |
commit | 80c78472ad43f4288c9ef5076074ba9d31a39885 (patch) | |
tree | 9059164cd806a1ed09f7a2ab1a7281d42e891bd3 /src/gallium/drivers/softpipe/sp_flush.c | |
parent | 99ec78d9462d2a553982d0ea15d538b36b1c123b (diff) |
softpipe: split texture and surface tile caches
These do similar jobs but with largely disjoint code. Will want
to evolve them separately going forward.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_flush.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_flush.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_flush.c b/src/gallium/drivers/softpipe/sp_flush.c index 679ad0cd3d4..e38b767cf2c 100644 --- a/src/gallium/drivers/softpipe/sp_flush.c +++ b/src/gallium/drivers/softpipe/sp_flush.c @@ -37,6 +37,7 @@ #include "sp_surface.h" #include "sp_state.h" #include "sp_tile_cache.h" +#include "sp_tex_tile_cache.h" #include "sp_winsys.h" @@ -52,7 +53,7 @@ softpipe_flush( struct pipe_context *pipe, if (flags & PIPE_FLUSH_TEXTURE_CACHE) { for (i = 0; i < softpipe->num_textures; i++) { - sp_flush_tile_cache(softpipe->tex_cache[i]); + sp_flush_tex_tile_cache(softpipe->tex_cache[i]); } } |