diff options
author | Keith Whitwell <[email protected]> | 2009-07-17 10:44:22 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-07-22 12:48:00 +0100 |
commit | b5d583efeff5f195bff48c95125a225c273189e2 (patch) | |
tree | b3c68989829923586642d60c6b1287d5469acf4d /src/gallium/drivers/softpipe/sp_context.h | |
parent | 07bb026900a6c01226217ceee1d4d1426c040d6e (diff) |
softpipe: 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/softpipe/sp_context.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h index 7888c2f644b..f66f0b7849d 100644 --- a/src/gallium/drivers/softpipe/sp_context.h +++ b/src/gallium/drivers/softpipe/sp_context.h @@ -149,7 +149,8 @@ struct softpipe_context { struct softpipe_tile_cache *cbuf_cache[PIPE_MAX_COLOR_BUFS]; struct softpipe_tile_cache *zsbuf_cache; - + + unsigned tex_timestamp; struct softpipe_tile_cache *tex_cache[PIPE_MAX_SAMPLERS]; unsigned use_sse : 1; |