softpipe: fix texture view crashes
[mesa.git] / src / gallium / drivers / softpipe / sp_limits.h
index 9dd2be1a9c512ff8af889be1d01e0e67037251bb..3fe9b7a8287e6b9236377f35f5f553927c1f5123 100644 (file)
@@ -31,7 +31,7 @@
 
 #define SP_MAX_TEXTURE_SIZE (1 * 1024 * 1024 * 1024ULL)  /* 1GB for now */
 #define SP_MAX_TEXTURE_2D_LEVELS 15  /* 16K x 16K */
-#define SP_MAX_TEXTURE_3D_LEVELS 9   /* 256 x 256 x 256 */
+#define SP_MAX_TEXTURE_3D_LEVELS 12   /* 2048 x 2048 x 2048 */
 #define SP_MAX_TEXTURE_CUBE_LEVELS 13  /* 4K x 4K */