nv50: get glxgears showing all 3 gears instead of 1!!

This fixes a lot of other things where not all the geometry got drawn
also.
This commit is contained in:
Ben Skeggs
2009-01-13 13:19:22 +10:00
parent 8337c78d91
commit adee4b9021
+2
View File
@@ -60,6 +60,8 @@ nv50_draw_arrays(struct pipe_context *pipe, unsigned mode, unsigned start,
OUT_RING (0);
BEGIN_RING(tesla, 0x142c, 1);
OUT_RING (0);
BEGIN_RING(tesla, 0x1440, 1);
OUT_RING (0);
BEGIN_RING(tesla, NV50TCL_VERTEX_BEGIN, 1);
OUT_RING (nv50_prim(mode));