diff options
author | Matthieu Castet <[email protected]> | 2007-09-19 23:22:39 +0200 |
---|---|---|
committer | Matthieu Castet <[email protected]> | 2007-09-19 23:22:39 +0200 |
commit | 0759e0999b087028cc2d76c725c5f97374dac503 (patch) | |
tree | d5417e2c17f2a1135617c3a27bb6aac0177d7c3d | |
parent | 3b582dff8c72870fb4d0b3641015365ea9026022 (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.c | 4 |
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) |