mesa: raise MAX_VARYING (number of shader varying vars) to 16
authorBrian Paul <brianp@vmware.com>
Fri, 8 May 2009 20:34:43 +0000 (14:34 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 8 May 2009 20:35:48 +0000 (14:35 -0600)
16 is the limit for now because of various 32-bit bitfields.

src/mesa/main/config.h

index 2a9fdf9..888e08f 100644 (file)
 #define MAX_PROGRAM_TEMPS 256
 #define MAX_PROGRAM_ADDRESS_REGS 2
 #define MAX_UNIFORMS 1024  /**< number of vec4 uniforms */
-#define MAX_VARYING      /**< number of float[4] vectors */
+#define MAX_VARYING 16     /**< number of float[4] vectors */
 #define MAX_SAMPLERS MAX_TEXTURE_IMAGE_UNITS
 #define MAX_PROGRAM_INPUTS 32
 #define MAX_PROGRAM_OUTPUTS 32