summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-25 05:17:08 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:53 +1000
commite05f67cbe6d852d01da3c4e0c4d52b28723f3684 (patch)
tree9734a4152f1d69e2b765c433db8a7df04b345444 /src/gallium
parent95d64ceb5a2b20032e757d6c1b0b5ef5e2b973e2 (diff)
nv50: maybe some scissor fixes..
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nv50/nv50_state_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index eba13f8e621..cf5a071a8d6 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -96,7 +96,7 @@ nv50_state_validate_fb(struct nv50_context *nv50)
so_method(so, tesla, NV50TCL_VIEWPORT_HORIZ, 2);
so_data (so, w << 16);
so_data (so, h << 16);
- so_method(so, tesla, 0xff4, 2);
+ so_method(so, tesla, 0x0e04, 2);
so_data (so, w << 16);
so_data (so, h << 16);
so_method(so, tesla, 0xdf8, 2);
@@ -214,7 +214,7 @@ nv50_state_validate(struct nv50_context *nv50)
nv50->state.scissor_enabled = rast->scissor;
so = so_new(3, 0);
- so_method(so, tesla, 0xff4, 2); //NV50TCL_SCISSOR_HORIZ, 2);
+ so_method(so, tesla, 0x0ff4, 2);
if (nv50->state.scissor_enabled) {
so_data(so, ((s->maxx - s->minx) << 16) | s->minx);
so_data(so, ((s->maxy - s->miny) << 16) | s->miny);