summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Castet <[email protected]>2007-09-19 23:22:39 +0200
committerMatthieu Castet <[email protected]>2007-09-19 23:22:39 +0200
commit0759e0999b087028cc2d76c725c5f97374dac503 (patch)
treed5417e2c17f2a1135617c3a27bb6aac0177d7c3d
parent3b582dff8c72870fb4d0b3641015365ea9026022 (diff)
nouveau : nv1x use OUT_RING_CACHE_FORCE for NV10_TCL_PRIMITIVE_3D_PROJECTION_MATRIX as strange results
appear when the matrix is partialy updated.
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_state.c4
1 files changed, 2 insertions, 2 deletions
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)