[Mesa-dev] [PATCH 5/9] mesa: bump MAX_ARRAY_TEXTURE_LAYERS

Marek Olšák maraeo at gmail.com
Sat Mar 15 10:17:55 PDT 2014


From: Marek Olšák <marek.olsak at amd.com>

I will actually use this for something useful.
---
 src/mesa/main/config.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 30da5d4..f3de667 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -106,9 +106,9 @@
 #define MAX_TEXTURE_RECT_SIZE 16384
 
 /**
- * Maximum number of layers in a 1D or 2D array texture - GL_MESA_texture_array
+ * Maximum number of layers in 1D, 2D, and Cube array textures
  */
-#define MAX_ARRAY_TEXTURE_LAYERS 64
+#define MAX_ARRAY_TEXTURE_LAYERS 16384
 
 /**
  * Max number of texture coordinate units.  This mainly just applies to
-- 
1.8.3.2



More information about the mesa-dev mailing list