summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-06-16 18:03:29 +1000
committerBen Skeggs <skeggsb@gmail.com>2008-06-29 15:46:18 +1000
commitbcbe6baac37915563bc120ad558cd930bc1ddec1 (patch)
tree6e17ca352458233a0311a630896c6611dce5b856
parentcae38d0fcc6c936d3a4dc25ca2dbef3d106d05a5 (diff)
nv50: hacks for stuff I don't really get yet
-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 2cf6275730..fa5e24d3e9 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -1592,7 +1592,7 @@ nv50_vertprog_validate(struct nv50_context *nv50)
so_method(so, tesla, 0x16b8, 1);
so_data (so, p->cfg.high_result);
so_method(so, tesla, 0x16ac, 2);
- so_data (so, 8);
+ so_data (so, p->cfg.high_result); //8);
so_data (so, p->cfg.high_temp);
so_method(so, tesla, 0x140c, 1);
so_data (so, 0); /* program start offset */
@@ -1632,7 +1632,7 @@ nv50_fragprog_validate(struct nv50_context *nv50)
so_data (so, 0x07060504);
so_data (so, 0x0b0a0908);
so_method(so, tesla, 0x1988, 2);
- so_data (so, 0x08040404); /* p: 0x0f000401 */
+ so_data (so, 0x08080408); //0x08040404); /* p: 0x0f000401 */
so_data (so, p->cfg.high_temp);
so_method(so, tesla, 0x1414, 1);
so_data (so, 0); /* program start offset */