Mesa (master): mesa: Bump MAX_TEXTURE_IMAGE_UNITS to 32.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Jan 23 01:17:37 UTC 2014


Module: Mesa
Branch: master
Commit: 50ce6f682da57bbbc7b78e99f9aeb9422b05dd6e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50ce6f682da57bbbc7b78e99f9aeb9422b05dd6e

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jan 15 10:08:06 2014 -0800

mesa: Bump MAX_TEXTURE_IMAGE_UNITS to 32.

This allows drivers to optionally support more than 16 texture units.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

---

 src/mesa/main/config.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index aa2b37a..0c1782a 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.




More information about the mesa-commit mailing list