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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/program.h b/src/mesa/main/program.h
index 02d962c796..2445fcc9a4 100644
--- a/src/mesa/main/program.h
+++ b/src/mesa/main/program.h
@@ -35,6 +35,10 @@
#include "mtypes.h"
+/* for GL_ARB_v_p and GL_ARB_f_p SWZ instruction */
+#define SWIZZLE_ZERO 100
+#define SWIZZLE_ONE 101
+
/*
* Internal functions