summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxdrv.h
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-07-02 10:34:48 +0000
committerDaniel Borca <[email protected]>2004-07-02 10:34:48 +0000
commit009542a0f7c2f90e3057f10bd1b17ae65f906d72 (patch)
tree77bbbed01bfc451c9f7f07b65b3d2220951357bc /src/mesa/drivers/glide/fxdrv.h
parent3aa364c8e11f10cc7cec384869ef59ff2f57c249 (diff)
added GL_EXT_fog_coord.
added GL_EXT_blend_equation_separate. minor cleanup.
Diffstat (limited to 'src/mesa/drivers/glide/fxdrv.h')
-rw-r--r--src/mesa/drivers/glide/fxdrv.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h
index cfe43bb687c..af4765d7a9b 100644
--- a/src/mesa/drivers/glide/fxdrv.h
+++ b/src/mesa/drivers/glide/fxdrv.h
@@ -104,7 +104,8 @@
#define SETUP_PTEX 0x20
#define SETUP_PSIZ 0x40
#define SETUP_SPEC 0x80
-#define MAX_SETUP 0x100
+#define SETUP_FOGC 0x100
+#define MAX_SETUP 0x200
#define FX_NUM_TMU 2
@@ -322,7 +323,8 @@ typedef struct
GrAlphaBlendFnc_t blendDstFuncRGB;
GrAlphaBlendFnc_t blendSrcFuncAlpha;
GrAlphaBlendFnc_t blendDstFuncAlpha;
- GrAlphaBlendOp_t blendEq;
+ GrAlphaBlendOp_t blendEqRGB;
+ GrAlphaBlendOp_t blendEqAlpha;
/* Depth test */
@@ -727,6 +729,9 @@ void fxSetupTexture (GLcontext *ctx);
extern GLuint fx_check_IsInHardware(GLcontext *ctx);
/* run-time debugging */
+#ifndef FX_DEBUG
+#define FX_DEBUG 0
+#endif
#if FX_DEBUG
extern int TDFX_DEBUG;
#else