summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2008-06-23 20:37:27 +0200
committerPatrice Mandin <pmandin@caramail.com>2008-06-23 20:37:27 +0200
commit8b72737a0ba33343673111261265c59546b408c6 (patch)
treef8886cabd2c3da06293617d2f1f4fead97a3a55c /src/gallium/drivers/nv30/nv30_context.h
parent5a01060eb95cb2cb168cb7224ecc805020584c91 (diff)
nv30: add state rasterizer, based on nv40 one
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h
index 1695ba5a01..43ee8d13a0 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -77,6 +77,12 @@ enum nv30_state_index {
#define NV30_NEW_UCP (1 << 12)
/* TODO: rename when removing the old state emitter */
+struct nv30_rasterizer_state_new {
+ struct pipe_rasterizer_state pipe;
+ struct nouveau_stateobj *so;
+};
+
+/* TODO: rename when removing the old state emitter */
struct nv30_blend_state_new {
struct pipe_blend_state pipe;
struct nouveau_stateobj *so;
@@ -111,6 +117,7 @@ struct nv30_context {
struct nv30_blend_state_new *blend;
struct pipe_blend_color blend_colour;
struct pipe_framebuffer_state framebuffer;
+ struct nv30_rasterizer_state_new *rasterizer;
uint32_t rt_enable;
struct pipe_buffer *rt[2];