#include "lp_surface.h"
#include "lp_state.h"
#include "lp_tile_cache.h"
+#include "lp_tex_cache.h"
#include "lp_winsys.h"
draw_flush(llvmpipe->draw);
- if (flags & PIPE_FLUSH_TEXTURE_CACHE) {
- for (i = 0; i < llvmpipe->num_textures; i++) {
- lp_flush_tile_cache(llvmpipe->tex_cache[i]);
- }
- }
-
if (flags & PIPE_FLUSH_SWAPBUFFERS) {
/* If this is a swapbuffers, just flush color buffers.
*
if (llvmpipe->cbuf_cache[i])
lp_flush_tile_cache(llvmpipe->cbuf_cache[i]);
- if (llvmpipe->zsbuf_cache)
- lp_flush_tile_cache(llvmpipe->zsbuf_cache);
+ /* FIXME: untile zsbuf! */
llvmpipe->dirty_render_cache = FALSE;
}