From: Ben Skeggs Date: Tue, 13 Jan 2009 02:49:53 +0000 (+1000) Subject: nv50: change some magic reg, makes more things work X-Git-Tag: mesa-7.8~4139^2~496^2~115^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8337c78d91612d615a1368ee8ee188d80574fad4;p=platform%2Fupstream%2Fmesa.git nv50: change some magic reg, makes more things work No real idea what this does.. but a lot of things that misrendered and made the GPU throw a DATA_ERROR now work.. I'm wondering what side-effects we'll see from this :) --- diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index 5537a47..7686f74 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -1739,7 +1739,7 @@ nv50_fragprog_validate(struct nv50_context *nv50) so_reloc (so, p->buffer, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RD | NOUVEAU_BO_LOW, 0, 0); so_method(so, tesla, 0x1904, 4); - so_data (so, 0x01040404); /* p: 0x01000404 */ + so_data (so, 0x00040404); /* p: 0x01000404 */ so_data (so, 0x00000004); so_data (so, 0x00000000); so_data (so, 0x00000000);