diff options
author | Keith Whitwell <[email protected]> | 2009-07-17 10:44:22 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:16 +0100 |
commit | 0f55a95b2faa16cc008143c53a8b82b19c5d750a (patch) | |
tree | 69bb35652d7adddcec043c0d742c2a8e32898378 /src/gallium/drivers/llvmpipe/lp_context.h | |
parent | 3121484a8bde7af053fb627bd716be957fcef18c (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.h | 3 |
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 9bfae0aa7f8..ab88401c605 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; |