summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage/savagecontext.h
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-12-22 00:21:32 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-12-22 00:21:32 +0000
commit80dd3c79172227ab8826d7449b65bfdf53ee15f8 (patch)
tree32b077abb02ee8bc5c259a93106ebaabda6c26cc /src/mesa/drivers/dri/savage/savagecontext.h
parent8bdaa927ebca0a23a3bdeed3f4bb11b0f1600684 (diff)
- Fake projective textures on a single texture unit. A fallback is only
needed if a second texture unit is enabled. - Also worked around an application bug in Chromium B.S.U.: it sends 3D texture coordinates while only a 2D texture is enabled. This used to trigger a PTEX fallback. Now the 3rd coordinate is just ignored. - Fixed the _savage_texnorm_stage to never normalize homogenous texture coordinates.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagecontext.h')
-rw-r--r--src/mesa/drivers/dri/savage/savagecontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savagecontext.h b/src/mesa/drivers/dri/savage/savagecontext.h
index 24bde237c3..f41b73e0de 100644
--- a/src/mesa/drivers/dri/savage/savagecontext.h
+++ b/src/mesa/drivers/dri/savage/savagecontext.h
@@ -141,6 +141,7 @@ struct savage_context_t {
/* Manage our own state */
GLuint new_state;
GLuint new_gl_state;
+ GLboolean ptexHack;
GLuint BCIBase;
GLuint MMIO_BASE;
@@ -179,6 +180,7 @@ struct savage_context_t {
GLenum render_primitive;
GLuint DrawPrimitiveCmd;
+ GLuint HwVertexSize;
/* Fallback rasterization functions
*/