softpipe: bump 3D texture limit to 2048
authorDave Airlie <airlied@redhat.com>
Tue, 26 Apr 2016 22:00:46 +0000 (08:00 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 1 May 2016 21:29:02 +0000 (07:29 +1000)
The GL4.1 spec bumps this to 2048, so we should do so.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
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 */