mesa: Bump MAX_TEXTURE_IMAGE_UNITS to 32.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 15 Jan 2014 18:08:06 +0000 (10:08 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Jan 2014 01:18:55 +0000 (17:18 -0800)
This allows drivers to optionally support more than 16 texture units.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/main/config.h

index aa2b37aafb7afc262db3e762b776caae50abcaaf..0c1782ad70ce1382cc0b4b046c4ef5809bb83f97 100644 (file)
  * Max number of texture image units.  Also determines number of texture
  * samplers in shaders.
  */
-#define MAX_TEXTURE_IMAGE_UNITS 16
+#define MAX_TEXTURE_IMAGE_UNITS 32
 
 /**
  * Larger of MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.