summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-04-27 08:00:46 +1000
committerDave Airlie <[email protected]>2016-05-02 07:29:02 +1000
commitcf6dadb00b93b828e8cc95e8136d4c2013d76e40 (patch)
tree94a787eeca655fe0b136680d8a8b8cf0815cff7d /src/gallium/drivers/softpipe
parent277170eeea00e001635aa0c8ac90012a6f98f299 (diff)
softpipe: bump 3D texture limit to 2048
The GL4.1 spec bumps this to 2048, so we should do so. Reviewed-by: Roland Scheidegger <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_limits.h2
1 files changed, 1 insertions, 1 deletions
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 */