nv50: fix progs/tests/manytex

Previously all squares were textured with the same texture.. not quite what
the demo was supposed to look like!
This commit is contained in:
Ben Skeggs 2009-01-13 13:25:14 +10:00
parent adee4b9021
commit f883c14560

View file

@ -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));