diff options
author | Roland Scheidegger <[email protected]> | 2005-10-05 11:42:44 +0000 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2005-10-05 11:42:44 +0000 |
commit | a3c8de2fa7fba22647e5b3e8cfb05c85d1a5a980 (patch) | |
tree | 2661e1f4301fa24c41a55e29d2be2a28cc42a31a /src/mesa/drivers/dri/radeon/radeon_state.h | |
parent | 06f606ce5761e673fca3f6b1f7dd40dace8a9906 (diff) |
Remove the tcl fallback for texture rectangle (by manipulating the texture matrix) (tested with texrect). Enable texgen for r/q coordinates (tested with projtex). Fix projected texcoords when an app uses TexCoord3x and the texture matrix to save on vertex size (fixes ut2k3 shadow projectors in tcl mode). From texgenmix, all cases with all texgen or no texgen work, with the exception of texgen enabled for s/t only, this one works with hw tcl, but not with vtxfmt (suspect issues with vtxfmt), the mixed cases do not work (which is expected, and should be rare in practice), with the exception of the first one which hits a tcl fallback.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_state.h')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_state.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state.h b/src/mesa/drivers/dri/radeon/radeon_state.h index c9f5c05cf4d..a1afa500076 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state.h +++ b/src/mesa/drivers/dri/radeon/radeon_state.h @@ -49,7 +49,9 @@ extern void radeonSetCliprects( radeonContextPtr rmesa ); extern void radeonRecalcScissorRects( radeonContextPtr rmesa ); extern void radeonUpdateViewportOffset( GLcontext *ctx ); extern void radeonUpdateWindow( GLcontext *ctx ); -extern void radeonUpdateDrawBuffer(GLcontext *ctx); +extern void radeonUpdateDrawBuffer( GLcontext *ctx ); +extern void radeonUploadTexMatrix( radeonContextPtr rmesa, GLfloat *src, + int unit, GLboolean swapcols ); extern void radeonValidateState( GLcontext *ctx ); |