summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-06-23 20:43:22 +0200
committerPatrice Mandin <[email protected]>2008-06-23 20:43:22 +0200
commite5bbb18441f34824dc4f9f857b30c71c4ff6466f (patch)
tree04286bf00f873c474dcbd23077a089878ef85bc4 /src/gallium/drivers/nv30/nv30_context.h
parent8b72737a0ba33343673111261265c59546b408c6 (diff)
nv30: add state scissor, based on nv40 one
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h
index 43ee8d13a0c..428f17ae0d6 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -90,6 +90,8 @@ struct nv30_blend_state_new {
struct nv30_state {
+ unsigned scissor_enabled;
+
struct nouveau_stateobj *hw[NV30_STATE_MAX];
};
@@ -104,6 +106,7 @@ struct nv30_context {
/* HW state derived from pipe states */
struct nv30_state state;
+ struct pipe_scissor_state scissor;
uint32_t dirty;