[Mesa-dev] [PATCH 2/2] softpipe: bump 3D texture limit to 2048

Dave Airlie airlied at gmail.com
Tue Apr 26 22:11:50 UTC 2016


From: Dave Airlie <airlied at redhat.com>

The GL4.1 spec bumps this to 2048, so we should do so.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/gallium/drivers/softpipe/sp_limits.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/softpipe/sp_limits.h b/src/gallium/drivers/softpipe/sp_limits.h
index 9dd2be1..3fe9b7a 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 */
 
 
-- 
2.5.5



More information about the mesa-dev mailing list