summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-25 04:57:27 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:52 +1000
commite002ad77398fbe14a0efbd91824c3325ca09b4c1 (patch)
treeb04ee4d9ec98185858b7b07a568c21c5f855dc2f /src/gallium/drivers/nv50
parent2c2cb8646168c8709e51d7ff583a86044e3f2040 (diff)
nv50: whoops
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 148de3b7eaf..bc45fe0bdfd 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -1555,7 +1555,7 @@ nv50_program_validate_code(struct nv50_context *nv50, struct nv50_program *p)
*(ptr++) = e->inst[1];
}
- so = so_new(3,2);
+ so = so_new(4,2);
so_method(so, nv50->screen->tesla, 0x1280, 3);
so_reloc (so, p->buffer, 0, flags | NOUVEAU_BO_HIGH, 0, 0);
so_reloc (so, p->buffer, 0, flags | NOUVEAU_BO_LOW, 0, 0);
@@ -1604,7 +1604,7 @@ nv50_vertprog_validate(struct nv50_context *nv50)
nv50_program_validate_data(nv50, p);
nv50_program_validate_code(nv50, p);
- so = so_new(11, 2);
+ so = so_new(13, 2);
so_method(so, tesla, NV50TCL_VP_ADDRESS_HIGH, 2);
so_reloc (so, p->buffer, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RD |
NOUVEAU_BO_HIGH, 0, 0);