From 0f55a95b2faa16cc008143c53a8b82b19c5d750a Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 17 Jul 2009 10:44:22 +0100 Subject: llvmpipe: make some small steps to flush texture cache less frequently No performance gain yet, but the code is a bit cleaner. --- src/gallium/drivers/llvmpipe/lp_context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/llvmpipe/lp_context.h') diff --git a/src/gallium/drivers/llvmpipe/lp_context.h b/src/gallium/drivers/llvmpipe/lp_context.h index 9bfae0aa7f..ab88401c60 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.h +++ b/src/gallium/drivers/llvmpipe/lp_context.h @@ -149,7 +149,8 @@ struct llvmpipe_context { struct llvmpipe_tile_cache *cbuf_cache[PIPE_MAX_COLOR_BUFS]; struct llvmpipe_tile_cache *zsbuf_cache; - + + unsigned tex_timestamp; struct llvmpipe_tile_cache *tex_cache[PIPE_MAX_SAMPLERS]; unsigned use_sse : 1; -- cgit v1.2.3