summaryrefslogtreecommitdiff
path: root/src/mesa/main/program.h
diff options
context:
space:
mode:
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 */
/*