summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-06-23 21:37:41 +0200
committerPatrice Mandin <[email protected]>2008-06-23 21:37:41 +0200
commit0e1b36b0b257bfba4427a1e6e12c918e744b9977 (patch)
tree262cb2fe413a2000288d29ccbac35b26c66ee5c4 /src/gallium/drivers/nv30/nv30_context.h
parentd4bc56ca49ef39f9f083a2e5adeb3e89ca3bf538 (diff)
nv30: add state viewport, 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 446e43a726d..eb7e5a8b124 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -92,6 +92,7 @@ struct nv30_blend_state_new {
struct nv30_state {
unsigned scissor_enabled;
unsigned stipple_enabled;
+ unsigned viewport_bypass;
struct nouveau_stateobj *hw[NV30_STATE_MAX];
};
@@ -120,6 +121,7 @@ struct nv30_context {
/* Context state */
struct nv30_blend_state_new *blend;
struct pipe_blend_color blend_colour;
+ struct pipe_viewport_state viewport;
struct pipe_framebuffer_state framebuffer;
struct nv30_rasterizer_state_new *rasterizer;
unsigned stipple[32];