summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv10
diff options
context:
space:
mode:
authorPeter Winters <[email protected]>2008-04-20 22:48:50 +0200
committerPeter Winters <[email protected]>2008-04-20 22:48:50 +0200
commitb20acef90695d6e5975f538b6e9cb812b05f0cf6 (patch)
tree155b817da5c8b38d2d0b77f674dee76a2b3a5125 /src/gallium/drivers/nv10
parente7bdf047f28ea9b928b3890c37d7d20db1e67e96 (diff)
nv10: enable viewport clipping
Diffstat (limited to 'src/gallium/drivers/nv10')
-rw-r--r--src/gallium/drivers/nv10/nv10_state_emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv10/nv10_state_emit.c b/src/gallium/drivers/nv10/nv10_state_emit.c
index b7ae57d500a..41422c88825 100644
--- a/src/gallium/drivers/nv10/nv10_state_emit.c
+++ b/src/gallium/drivers/nv10/nv10_state_emit.c
@@ -161,8 +161,8 @@ static void nv10_state_emit_framebuffer(struct nv10_context* nv10)
OUT_RING ((h << 16) | 0);
OUT_RING (rt_format);
BEGIN_RING(celsius, NV10TCL_VIEWPORT_CLIP_HORIZ(0), 2);
- OUT_RING (((w - 1) << 16) | 0);
- OUT_RING (((h - 1) << 16) | 0);
+ OUT_RING (((w - 1) << 16) | 0 | 0x08000800);
+ OUT_RING (((h - 1) << 16) | 0 | 0x08000800);
}
static void nv10_vertex_layout(struct nv10_context *nv10)