summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-06-23 21:13:27 +0200
committerPatrice Mandin <[email protected]>2008-06-23 21:13:27 +0200
commitd4bc56ca49ef39f9f083a2e5adeb3e89ca3bf538 (patch)
tree83684887e4d452555f4d7a079c94c1cfdc0acc6f /src/gallium/drivers/nv30/nv30_context.h
parente5bbb18441f34824dc4f9f857b30c71c4ff6466f (diff)
nv30: add state stipple, based on nv40 one
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h
index 428f17ae0d6..446e43a726d 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -91,6 +91,7 @@ struct nv30_blend_state_new {
struct nv30_state {
unsigned scissor_enabled;
+ unsigned stipple_enabled;
struct nouveau_stateobj *hw[NV30_STATE_MAX];
};
@@ -121,6 +122,7 @@ struct nv30_context {
struct pipe_blend_color blend_colour;
struct pipe_framebuffer_state framebuffer;
struct nv30_rasterizer_state_new *rasterizer;
+ unsigned stipple[32];
uint32_t rt_enable;
struct pipe_buffer *rt[2];