diff options
author | Brian Paul <[email protected]> | 2000-01-18 17:56:05 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-01-18 17:56:05 +0000 |
commit | e257733d0348933663ed264963d034a71f584622 (patch) | |
tree | e3e8f9a56db07f811d5f88c71bb4f3c9ba586f63 /src/mesa/drivers/glide/fxglidew.h | |
parent | d15422a951a9c42b7f8ac8b46548a5fe3945a21f (diff) |
updated with latest DRI tree changes
Diffstat (limited to 'src/mesa/drivers/glide/fxglidew.h')
-rw-r--r-- | src/mesa/drivers/glide/fxglidew.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/mesa/drivers/glide/fxglidew.h b/src/mesa/drivers/glide/fxglidew.h index 49c28f222ce..c3e8057e4ea 100644 --- a/src/mesa/drivers/glide/fxglidew.h +++ b/src/mesa/drivers/glide/fxglidew.h @@ -223,23 +223,23 @@ typedef struct typedef struct { - float x, y; /* X and Y in screen space */ - float ooz; /* 65535/Z (used for Z-buffering) */ - float oow; /* 1/W (used for W-buffering, texturing) */ - float r, g, b, a; /* R, G, B, A [0..255.0] */ - float z; /* Z is ignored */ + float x, y, z; /* X, Y, and Z of scrn space -- Z is ignored */ + float r, g, b; /* R, G, B, ([0..255.0]) */ + float ooz; /* 65535/Z (used for Z-buffering) */ + float a; /* Alpha [0..255.0] */ + float oow; /* 1/W (used for W-buffering, texturing) */ GrTmuVertex tmuvtx[GLIDE_NUM_TMU]; } GrVertex; #define GR_VERTEX_X_OFFSET 0 #define GR_VERTEX_Y_OFFSET 1 -#define GR_VERTEX_OOZ_OFFSET 2 -#define GR_VERTEX_OOW_OFFSET 3 -#define GR_VERTEX_R_OFFSET 4 -#define GR_VERTEX_G_OFFSET 5 -#define GR_VERTEX_B_OFFSET 6 +#define GR_VERTEX_Z_OFFSET 2 +#define GR_VERTEX_R_OFFSET 3 +#define GR_VERTEX_G_OFFSET 4 +#define GR_VERTEX_B_OFFSET 5 +#define GR_VERTEX_OOZ_OFFSET 6 #define GR_VERTEX_A_OFFSET 7 -#define GR_VERTEX_Z_OFFSET 8 +#define GR_VERTEX_OOW_OFFSET 8 #define GR_VERTEX_SOW_TMU0_OFFSET 9 #define GR_VERTEX_TOW_TMU0_OFFSET 10 #define GR_VERTEX_OOW_TMU0_OFFSET 11 @@ -473,7 +473,6 @@ typedef struct #else #define FX_setupGrVertexLayout() do {} while (0) #endif - /* * grSstControl stuff */ |