summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/nvvertprog.h5
-rw-r--r--src/mesa/main/program.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/main/nvvertprog.h b/src/mesa/main/nvvertprog.h
index 0dbee780dfd..820b3e5692b 100644
--- a/src/mesa/main/nvvertprog.h
+++ b/src/mesa/main/nvvertprog.h
@@ -34,11 +34,6 @@
#define NVVERTPROG_H
-/* for GL_ARB_v_p SWZ instruction */
-#define SWIZZLE_ZERO 100
-#define SWIZZLE_ONE 101
-
-
/* Vertex program opcodes */
enum vp_opcode
{
diff --git a/src/mesa/main/program.h b/src/mesa/main/program.h
index 02d962c7965..2445fcc9a44 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