summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_context.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-16 16:51:23 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-17 14:14:23 -0600
commitcb8ebc912430201683463822897f06d7d42795f2 (patch)
treea22da2cc8abc4eb477c2844888256e1f8d32f6ee /src/gallium/drivers/cell/ppu/cell_context.h
parentfa7b8388066651c5cfafd4ce6461fc43c982d8c7 (diff)
cell: more efficient state emit for textures/samplers
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_context.h')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_context.h b/src/gallium/drivers/cell/ppu/cell_context.h
index a592e728c8..ad1f4829a4 100644
--- a/src/gallium/drivers/cell/ppu/cell_context.h
+++ b/src/gallium/drivers/cell/ppu/cell_context.h
@@ -121,6 +121,8 @@ struct cell_context
uint *tex_map;
uint dirty;
+ uint dirty_textures; /* bitmask of texture units */
+ uint dirty_samplers; /* bitmask of sampler units */
/** Cache of code generated for per-fragment ops */
struct keymap *fragment_ops_cache;