[Mesa-dev] [PATCH 08/10] mesa: Bump MAX_TEXTURE_IMAGE_UNITS to 32.
Kenneth Graunke
kenneth at whitecape.org
Sat Jan 18 20:20:10 PST 2014
This allows drivers to optionally support more than 16 texture units.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
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 ff9da77..9df4a6e 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.
--
1.8.5.2
More information about the mesa-dev
mailing list