summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2009-01-13 13:25:14 +1000
committerBen Skeggs <skeggsb@gmail.com>2009-01-13 13:57:22 +1000
commitf883c14560fad2ab88744e3212776a338a96fb96 (patch)
treef0dca8bd39576bd13cb4d3c9a352b46a02c090be
parentadee4b902166fe57d8e28f604ba4917ff0d17987 (diff)
nv50: fix progs/tests/manytex
Previously all squares were textured with the same texture.. not quite what the demo was supposed to look like!
-rw-r--r--src/gallium/drivers/nv50/nv50_vbo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c
index f41bb92174..435dc9777d 100644
--- a/src/gallium/drivers/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nv50/nv50_vbo.c
@@ -62,6 +62,8 @@ nv50_draw_arrays(struct pipe_context *pipe, unsigned mode, unsigned start,
OUT_RING (0);
BEGIN_RING(tesla, 0x1440, 1);
OUT_RING (0);
+ BEGIN_RING(tesla, 0x1334, 1);
+ OUT_RING (0);
BEGIN_RING(tesla, NV50TCL_VERTEX_BEGIN, 1);
OUT_RING (nv50_prim(mode));