projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c920d20
)
added FRAG_BIT_TEX() and FRAG_BIT_VAR() macros
author
Brian
<brian@nostromo.localnet.net>
Wed, 24 Jan 2007 21:12:08 +0000
(14:12 -0700)
committer
Brian
<brian@nostromo.localnet.net>
Wed, 24 Jan 2007 21:12:08 +0000
(14:12 -0700)
src/mesa/main/mtypes.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/mtypes.h
b/src/mesa/main/mtypes.h
index cbb1fd47eb21f8b325a7aa063245bcef2ca99885..7cd407a27428dd956d74b05520e3c4b67eb97a6a 100644
(file)
--- 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| \