nouveau : nv1x use OUT_RING_CACHE_FORCE for NV10_TCL_PRIMITIVE_3D_PROJECTION_MATRIX...
authorMatthieu Castet <castet.matthieu@free.fr>
Wed, 19 Sep 2007 21:22:39 +0000 (23:22 +0200)
committerMatthieu Castet <castet.matthieu@free.fr>
Wed, 19 Sep 2007 21:22:39 +0000 (23:22 +0200)
appear when the matrix is partialy updated.

src/mesa/drivers/dri/nouveau/nv10_state.c

index 99975c3d8ba0af13946e95d5437aa88e182961a2..8cbe72020fe57032dd8e9dce3846b4a9b399d758 100644 (file)
@@ -801,8 +801,8 @@ static void nv10UpdateProjectionMatrix(GLcontext *ctx)
                projection[i+12] = ctx->_ModelProjectMatrix.m[i*4+3];
        }
 
-       BEGIN_RING_SIZE(NvSub3D, NV10_TCL_PRIMITIVE_3D_PROJECTION_MATRIX(0), 16);
-       OUT_RINGp(projection, 16);
+       BEGIN_RING_CACHE(NvSub3D, NV10_TCL_PRIMITIVE_3D_PROJECTION_MATRIX(0), 16);
+       OUT_RING_CACHE_FORCEp(projection, 16);
 }
 
 static void nv10UpdateModelviewMatrix(GLcontext *ctx)