summaryrefslogtreecommitdiff
path: root/src/mesa/main/program.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-01-22 22:40:40 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-01-22 22:40:40 +0000
commitdca71ea44bc4a9d454550c70e20b38f678b18a7e (patch)
tree20ad30dd1ffc405fc76829f8c04aecf7d44f20f9 /src/mesa/main/program.h
parent004d71f55429a97513457c1cc67b910d86e8bca9 (diff)
Minor tweaks to help out at a driver level.
Diffstat (limited to 'src/mesa/main/program.h')
-rw-r--r--src/mesa/main/program.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/main/program.h b/src/mesa/main/program.h
index 3c2aa1cdac..4dbc5cffd7 100644
--- a/src/mesa/main/program.h
+++ b/src/mesa/main/program.h
@@ -36,8 +36,12 @@
/* for GL_ARB_v_p and GL_ARB_f_p SWZ instruction */
-#define SWIZZLE_ZERO 100
-#define SWIZZLE_ONE 101
+#define SWIZZLE_X 0
+#define SWIZZLE_Y 1
+#define SWIZZLE_Z 2
+#define SWIZZLE_W 3
+#define SWIZZLE_ZERO 4 /* keep these values together: KW */
+#define SWIZZLE_ONE 5 /* keep these values together: KW */
/*