summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-01-15 10:08:06 -0800
committerKenneth Graunke <[email protected]>2014-01-22 17:18:55 -0800
commit50ce6f682da57bbbc7b78e99f9aeb9422b05dd6e (patch)
treed1ba69ef4c1a7c62d33ee2c5a55ef18a16d1fcdc /src/mesa/main
parent15fc919491ea27bd395988a332502bdb23ee44d0 (diff)
mesa: Bump MAX_TEXTURE_IMAGE_UNITS to 32.
This allows drivers to optionally support more than 16 texture units. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/config.h2
1 files changed, 1 insertions, 1 deletions
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.