From: Patrice Mandin Date: Fri, 16 Feb 2007 21:09:42 +0000 (+0100) Subject: nouveau: nv20: texture matrix X-Git-Tag: mesa-7.8~6434^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fccb646e0c83f6bb4c8b453cc2e915e8cee21f1;p=platform%2Fupstream%2Fmesa.git nouveau: nv20: texture matrix --- diff --git a/src/mesa/drivers/dri/nouveau/nv20_state.c b/src/mesa/drivers/dri/nouveau/nv20_state.c index bcca69d..417590d 100644 --- a/src/mesa/drivers/dri/nouveau/nv20_state.c +++ b/src/mesa/drivers/dri/nouveau/nv20_state.c @@ -617,7 +617,10 @@ void (*TexParameter)(GLcontext *ctx, GLenum target, static void nv20TextureMatrix(GLcontext *ctx, GLuint unit, const GLmatrix *mat) { - /* TODO */ + nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx); + BEGIN_RING_CACHE(NvSub3D, NV20_TCL_PRIMITIVE_3D_TX_MATRIX(unit, 0), 16); + /*XXX: This SHOULD work.*/ + OUT_RING_CACHEp(mat->m, 16); } /* Update anything that depends on the window position/size */