diff options
author | Brian <[email protected]> | 2007-01-24 14:12:08 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-24 14:12:08 -0700 |
commit | 07373512c72ca0fc19cccd1d102f14f1a41fd1bd (patch) | |
tree | e3eabc096f162a2230a2b2afb111266f2c497a9f /src | |
parent | c920d201c23f1ff1dfba06d3827e5a0e0d756283 (diff) |
added FRAG_BIT_TEX() and FRAG_BIT_VAR() macros
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/mtypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index cbb1fd47eb2..7cd407a2742 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -282,6 +282,10 @@ enum #define FRAG_BIT_TEX5 (1 << FRAG_ATTRIB_TEX5) #define FRAG_BIT_TEX6 (1 << FRAG_ATTRIB_TEX6) #define FRAG_BIT_TEX7 (1 << FRAG_ATTRIB_TEX7) +#define FRAG_BIT_VAR0 (1 << FRAG_ATTRIB_VAR0) + +#define FRAG_BIT_TEX(U) (FRAG_BIT_TEX0 << (U)) +#define FRAG_BIT_VAR(V) (FRAG_BIT_VAR0 << (V)) #define FRAG_BITS_TEX_ANY (FRAG_BIT_TEX0| \ FRAG_BIT_TEX1| \ |