mesa/compiler: move MAX_VARYING to shader_enums.h
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 2 Mar 2016 01:41:02 +0000 (17:41 -0800)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 10 Nov 2016 22:17:07 +0000 (09:17 +1100)
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/shader_enums.h
src/mesa/main/config.h

index 74055dfa4c531539eb8e3b515025d1df900759e3..bb9f53d2e170a588b09b4abe5139dfb504a79857 100644 (file)
@@ -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
index 0d0ee90e678653dc64b8c82089ad5006bb08c076..81573bfbf2c2f51816d5ee0c575d5ea6605ce00c 100644 (file)
 #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