From: Ben Skeggs Date: Tue, 13 Jan 2009 03:19:22 +0000 (+1000) Subject: nv50: get glxgears showing all 3 gears instead of 1!! X-Git-Tag: 062012170305~17580^2~496^2~115^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adee4b902166fe57d8e28f604ba4917ff0d17987;p=profile%2Fivi%2Fmesa.git 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. --- diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c index 5843366..f41bb92 100644 --- a/src/gallium/drivers/nv50/nv50_vbo.c +++ b/src/gallium/drivers/nv50/nv50_vbo.c @@ -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));