summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2009-03-14 20:19:47 -0400
committerYounes Manton <[email protected]>2009-03-14 20:19:47 -0400
commit8b45de9aa1f92630b3c92847e20fc68d7b202edd (patch)
tree8f65ea8c4354a572274200753222867d44169f7f /src/gallium/drivers/nv40
parent683e7091a953204c9aee1410ac44be3b69bae9fc (diff)
nouveau: bypass_vs_clip_and_viewport
Diffstat (limited to 'src/gallium/drivers/nv40')
-rw-r--r--src/gallium/drivers/nv40/nv40_state_viewport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_state_viewport.c b/src/gallium/drivers/nv40/nv40_state_viewport.c
index 3d14d203081..665d2d5fcac 100644
--- a/src/gallium/drivers/nv40/nv40_state_viewport.c
+++ b/src/gallium/drivers/nv40/nv40_state_viewport.c
@@ -7,7 +7,8 @@ nv40_state_viewport_validate(struct nv40_context *nv40)
struct nouveau_stateobj *so;
unsigned bypass;
- if (nv40->render_mode == HW && !nv40->rasterizer->pipe.bypass_clipping)
+ if (nv40->render_mode == HW &&
+ !nv40->rasterizer->pipe.bypass_vs_clip_and_viewport)
bypass = 0;
else
bypass = 1;