From: Dave Airlie Date: Tue, 26 Apr 2016 22:00:46 +0000 (+1000) Subject: softpipe: bump 3D texture limit to 2048 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf6dadb00b93b828e8cc95e8136d4c2013d76e40;p=mesa.git softpipe: bump 3D texture limit to 2048 The GL4.1 spec bumps this to 2048, so we should do so. Reviewed-by: Roland Scheidegger Signed-off-by: Dave Airlie --- diff --git a/src/gallium/drivers/softpipe/sp_limits.h b/src/gallium/drivers/softpipe/sp_limits.h index 9dd2be1a9c5..3fe9b7a8287 100644 --- a/src/gallium/drivers/softpipe/sp_limits.h +++ b/src/gallium/drivers/softpipe/sp_limits.h @@ -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 */