summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_context.h
diff options
context:
space:
mode:
authorBen Skeggs <darktama@beleth.(none)>2008-02-22 13:55:18 +1100
committerBen Skeggs <darktama@beleth.(none)>2008-02-22 13:55:18 +1100
commitc2e36bdd1a58ba6f58c4e72db1f7f64e8bd05901 (patch)
treedc29ce26e4cfc6ea5e5c20e57563c83985d91c73 /src/gallium/drivers/nv40/nv40_context.h
parent5b2ff28a2fd3bb0ca9df569edcaf80e8141ccaa1 (diff)
nv40: move hw_dirty
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_context.h')
-rw-r--r--src/gallium/drivers/nv40/nv40_context.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv40/nv40_context.h b/src/gallium/drivers/nv40/nv40_context.h
index cbc798fbd6..c533b9e0ef 100644
--- a/src/gallium/drivers/nv40/nv40_context.h
+++ b/src/gallium/drivers/nv40/nv40_context.h
@@ -115,7 +115,9 @@ struct nv40_blend_state {
struct nv40_state {
unsigned scissor_enabled;
unsigned stipple_enabled;
+ unsigned fp_samplers;
+ unsigned dirty;
struct nouveau_stateobj *hw[NV40_STATE_MAX];
};
@@ -129,13 +131,10 @@ struct nv40_context {
int chipset;
unsigned dirty;
- unsigned hw_dirty;
struct nv40_sampler_state *tex_sampler[PIPE_MAX_SAMPLERS];
struct nv40_miptree *tex_miptree[PIPE_MAX_SAMPLERS];
unsigned dirty_samplers;
- unsigned fp_samplers;
- unsigned vp_samplers;
struct {
struct pipe_scissor_state scissor;