softpipe: fix texture view crashes
[mesa.git] / src / gallium / drivers / softpipe / sp_limits.h
index a7a24c98d57805b3bd71e4b0f0c3d22b6ce59d4f..3fe9b7a8287e6b9236377f35f5f553927c1f5123 100644 (file)
 #define SP_LIMITS_H
 
 
-
+#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   /* 512 x 512 x 512 */
+#define SP_MAX_TEXTURE_3D_LEVELS 12   /* 2048 x 2048 x 2048 */
+#define SP_MAX_TEXTURE_CUBE_LEVELS 13  /* 4K x 4K */
 
 
 /** Max surface size */