diff options
author | Brian Paul <[email protected]> | 2001-07-14 17:53:04 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-07-14 17:53:04 +0000 |
commit | 96385fa15569e25cd0977e678c0ff3bdab6ef316 (patch) | |
tree | 64906f361d7fca6abb6cdd96b50439ccbce945d6 /src/mesa/swrast/s_trispan.h | |
parent | 274fc30d31803a1c73d7d05e041e71e6b683229e (diff) |
more work on float colors (still not finished)
Diffstat (limited to 'src/mesa/swrast/s_trispan.h')
-rw-r--r-- | src/mesa/swrast/s_trispan.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_trispan.h b/src/mesa/swrast/s_trispan.h index cd577f51ca6..2ac3c4d17a8 100644 --- a/src/mesa/swrast/s_trispan.h +++ b/src/mesa/swrast/s_trispan.h @@ -1,4 +1,4 @@ -/* $Id: s_trispan.h,v 1.1 2001/05/14 16:23:04 brianp Exp $ */ +/* $Id: s_trispan.h,v 1.2 2001/07/14 17:53:04 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -58,6 +58,15 @@ struct triangle_span { GLint x, y; GLuint count; GLuint activeMask; /* OR of the SPAN_* flags */ +#if CHAN_TYPE == GL_FLOAT + GLfloat red, redStep; + GLfloat green, greenStep; + GLfloat blue, blueStep; + GLfloat alpha, alphaStep; + GLfloat specRed, specRedStep; + GLfloat specGreen, specGreenStep; + GLfloat specBlue, specBlueStep; +#else GLfixed red, redStep; GLfixed green, greenStep; GLfixed blue, blueStep; @@ -65,6 +74,7 @@ struct triangle_span { GLfixed specRed, specRedStep; GLfixed specGreen, specGreenStep; GLfixed specBlue, specBlueStep; +#endif GLfixed index, indexStep; GLfixed z, zStep; GLfloat fog, fogStep; |