summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-07-17 10:44:22 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:16 +0100
commit0f55a95b2faa16cc008143c53a8b82b19c5d750a (patch)
tree69bb35652d7adddcec043c0d742c2a8e32898378 /src/gallium/drivers/llvmpipe/lp_context.h
parent3121484a8bde7af053fb627bd716be957fcef18c (diff)
llvmpipe: make some small steps to flush texture cache less frequently
No performance gain yet, but the code is a bit cleaner.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_context.h3
1 files changed, 2 insertions, 1 deletions
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;