From: Kenneth Graunke Date: Wed, 15 Jan 2014 18:08:06 +0000 (-0800) Subject: mesa: Bump MAX_TEXTURE_IMAGE_UNITS to 32. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50ce6f682da57bbbc7b78e99f9aeb9422b05dd6e;p=mesa.git mesa: Bump MAX_TEXTURE_IMAGE_UNITS to 32. This allows drivers to optionally support more than 16 texture units. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner Reviewed-by: Chris Forbes --- diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index aa2b37aafb7..0c1782ad70c 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -121,7 +121,7 @@ * 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.