summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.h
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-12 04:29:58 +1100
committerBen Skeggs <[email protected]>2008-03-12 04:29:58 +1100
commitcd85dc1e5dfa37cb9bee696e5e18332e3f1d65a1 (patch)
tree71951773d3c3c688c11f58a1c6ae53a138d40f6f /src/gallium/drivers/nv50/nv50_context.h
parent2fee5f76483feb301546b24c26eea699732ffb57 (diff)
nv50: rasterizer stateobj
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h
index 406ad2ca634..d839cf701eb 100644
--- a/src/gallium/drivers/nv50/nv50_context.h
+++ b/src/gallium/drivers/nv50/nv50_context.h
@@ -28,6 +28,7 @@
#define NV50_NEW_STIPPLE (1 << 3)
#define NV50_NEW_SCISSOR (1 << 4)
#define NV50_NEW_VIEWPORT (1 << 5)
+#define NV50_NEW_RASTERIZER (1 << 6)
struct nv50_blend_stateobj {
struct pipe_blend_state pipe;
@@ -39,6 +40,11 @@ struct nv50_zsa_stateobj {
struct nouveau_stateobj *so;
};
+struct nv50_rasterizer_stateobj {
+ struct pipe_rasterizer_state pipe;
+ struct nouveau_stateobj *so;
+};
+
struct nv50_context {
struct pipe_context pipe;
@@ -50,6 +56,7 @@ struct nv50_context {
unsigned dirty;
struct nv50_blend_stateobj *blend;
struct nv50_zsa_stateobj *zsa;
+ struct nv50_rasterizer_stateobj *rasterizer;
struct pipe_blend_color blend_colour;
struct pipe_poly_stipple stipple;
struct pipe_scissor_state scissor;