summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-03-01 17:41:02 -0800
committerTimothy Arceri <[email protected]>2016-11-11 09:17:07 +1100
commit53d1f4251f58bd858a4fdf3a7564dd16f90165d4 (patch)
tree8f1335c235f6d1e596dc9cd88044c127bc7e3645
parentcd52b4fb161bf038b5279144c7f6d8d84729a940 (diff)
mesa/compiler: move MAX_VARYING to shader_enums.h
Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/compiler/shader_enums.h1
-rw-r--r--src/mesa/main/config.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index 74055dfa4c5..bb9f53d2e17 100644
--- a/src/compiler/shader_enums.h
+++ b/src/compiler/shader_enums.h
@@ -172,6 +172,7 @@ const char *gl_vert_attrib_name(gl_vert_attrib attrib);
BITFIELD64_RANGE(VERT_ATTRIB_GENERIC(0), VERT_ATTRIB_GENERIC_MAX)
/*@}*/
+#define MAX_VARYING 32 /**< number of float[4] vectors */
/**
* Indexes for vertex shader outputs, geometry shader inputs/outputs, and
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 0d0ee90e678..81573bfbf2c 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -198,7 +198,6 @@
#define MAX_PROGRAM_CALL_DEPTH 8
#define MAX_PROGRAM_TEMPS 256
#define MAX_PROGRAM_ADDRESS_REGS 1
-#define MAX_VARYING 32 /**< number of float[4] vectors */
#define MAX_SAMPLERS MAX_TEXTURE_IMAGE_UNITS
#define MAX_PROGRAM_INPUTS 32
#define MAX_PROGRAM_OUTPUTS 64