softpipe: bump 3D texture limit to 2048

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>
This commit is contained in:
Dave Airlie
2016-04-27 08:00:46 +10:00
parent 277170eeea
commit cf6dadb00b

View 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 */