summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/nvfragprog.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-01-22 22:40:40 +0000
committerKeith Whitwell <[email protected]>2004-01-22 22:40:40 +0000
commitdca71ea44bc4a9d454550c70e20b38f678b18a7e (patch)
tree20ad30dd1ffc405fc76829f8c04aecf7d44f20f9 /src/mesa/main/nvfragprog.h
parent004d71f55429a97513457c1cc67b910d86e8bca9 (diff)
Minor tweaks to help out at a driver level.
Diffstat (limited to 'src/mesa/main/nvfragprog.h')
-rw-r--r--src/mesa/main/nvfragprog.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/nvfragprog.h b/src/mesa/main/nvfragprog.h
index 7752ddbab47..c3af7fb68db 100644
--- a/src/mesa/main/nvfragprog.h
+++ b/src/mesa/main/nvfragprog.h
@@ -64,6 +64,15 @@
#define FRAG_BIT_TEX6 (1 << FRAG_ATTRIB_TEX6)
#define FRAG_BIT_TEX7 (1 << FRAG_ATTRIB_TEX7)
+#define FRAG_BITS_TEX_ANY (FRAG_BIT_TEX0| \
+ FRAG_BIT_TEX1| \
+ FRAG_BIT_TEX2| \
+ FRAG_BIT_TEX3| \
+ FRAG_BIT_TEX4| \
+ FRAG_BIT_TEX5| \
+ FRAG_BIT_TEX6| \
+ FRAG_BIT_TEX7)
+
/* output registers */
#define FRAG_OUTPUT_COLR 0
#define FRAG_OUTPUT_COLH 1