Mesa (master): softpipe: bump 3D texture limit to 2048

Dave Airlie airlied at kemper.freedesktop.org
Sun May 1 21:29:24 UTC 2016


Module: Mesa
Branch: master
Commit: cf6dadb00b93b828e8cc95e8136d4c2013d76e40
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf6dadb00b93b828e8cc95e8136d4c2013d76e40

Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Apr 27 08:00:46 2016 +1000

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 at vmware.com>
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 */
 
 




More information about the mesa-commit mailing list