From 0759e0999b087028cc2d76c725c5f97374dac503 Mon Sep 17 00:00:00 2001 From: Matthieu Castet Date: Wed, 19 Sep 2007 23:22:39 +0200 Subject: nouveau : nv1x use OUT_RING_CACHE_FORCE for NV10_TCL_PRIMITIVE_3D_PROJECTION_MATRIX as strange results appear when the matrix is partialy updated. --- src/mesa/drivers/dri/nouveau/nv10_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c index 99975c3d8ba..8cbe72020fe 100644 --- a/src/mesa/drivers/dri/nouveau/nv10_state.c +++ b/src/mesa/drivers/dri/nouveau/nv10_state.c @@ -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) -- cgit v1.2.3