[Mesa-dev] [PATCH 3/6] mesa/compiler: move MAX_VARYING to shader_enums.h
Timothy Arceri
timothy.arceri at collabora.com
Thu Oct 27 02:00:45 UTC 2016
From: Kenneth Graunke <kenneth at whitecape.org>
---
src/compiler/shader_enums.h | 1 +
src/mesa/main/config.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index 74055df..bb9f53d 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 0d0ee90..81573bf 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
--
2.7.4
More information about the mesa-dev
mailing list