summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_screen.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-16 18:56:39 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:18 +1000
commit431504b99cd55948522e86a249e656e78598ddbd (patch)
treeaabb01e26176642ea7606175773a542530b3d16b /src/gallium/drivers/nv50/nv50_screen.c
parentbcbe6baac37915563bc120ad558cd930bc1ddec1 (diff)
nv50: hack of a TEX opcode
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index b9cecb77f1f..8affb0f073f 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -289,6 +289,11 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
so_data (so, fui(0.0));
so_data (so, fui(1.0));
+ so_method(so, screen->tesla, 0x1234, 1);
+ so_data (so, 1);
+ so_method(so, screen->tesla, 0x1458, 1);
+ so_data (so, 1);
+
so_emit(nvws, so);
so_ref(NULL, &so);
nvws->push_flush(nvws, 0, NULL);