Mesa (mesa_7_5_branch): softpipe: Increase GL_MAX_3D_TEXTURE_SIZE to 256.

Brian Paul brianp at kemper.freedesktop.org
Thu Sep 24 22:00:51 UTC 2009


Module: Mesa
Branch: mesa_7_5_branch
Commit: 1730b8db1237485778abdc4ae37e122414b5423b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1730b8db1237485778abdc4ae37e122414b5423b

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Sep 24 15:59:57 2009 -0600

softpipe: Increase GL_MAX_3D_TEXTURE_SIZE to 256.

---

 src/gallium/drivers/softpipe/sp_screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index cc39d33..2e2668d 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -84,7 +84,7 @@ softpipe_get_param(struct pipe_screen *screen, int param)
    case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
       return 12; /* max 2Kx2K */
    case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
-      return 8;  /* max 128x128x128 */
+      return 9;  /* max 256x256x256 */
    case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
       return 12; /* max 2Kx2K */
    case PIPE_CAP_TGSI_CONT_SUPPORTED:




More information about the mesa-commit mailing list