diff options
author | Daniel Borca <[email protected]> | 2003-11-26 08:32:35 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2003-11-26 08:32:35 +0000 |
commit | 854b4a3b5456e0a381df49de854fdb315899dfc2 (patch) | |
tree | 14c3e1f4f5e478c700737ebfffd006886ef8a74a /src/mesa/drivers/glide/fxglidew.h | |
parent | 0f3cd3f894612d156de454178effa4c732f96da7 (diff) |
accomodate vtx-0-2-branch
Diffstat (limited to 'src/mesa/drivers/glide/fxglidew.h')
-rw-r--r-- | src/mesa/drivers/glide/fxglidew.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxglidew.h b/src/mesa/drivers/glide/fxglidew.h index 31a8fa3b02e..feacde84189 100644 --- a/src/mesa/drivers/glide/fxglidew.h +++ b/src/mesa/drivers/glide/fxglidew.h @@ -119,7 +119,8 @@ typedef struct { float oow; /* 1/W (used for W-buffering, texturing) */ unsigned char pargb[4]; /* B, G, R, A [0..255] */ GrTmuVertex tmuvtx[GLIDE_NUM_TMU]; - long pad[16 - 11]; /* future use; also ensure 64b structure */ + float fog; /* fog coordinate */ + long pad[16 - 12]; /* ensure 64b structure */ } GrVertex; #define GR_VERTEX_X_OFFSET 0 @@ -133,6 +134,7 @@ typedef struct { #define GR_VERTEX_SOW_TMU1_OFFSET 8 #define GR_VERTEX_TOW_TMU1_OFFSET 9 #define GR_VERTEX_OOW_TMU1_OFFSET 10 +#define GR_VERTEX_FOG_OFFSET 11 |