Mesa (master): softpipe: increase max 2D/cube texture size to 4K x 4K

Brian Paul brianp at kemper.freedesktop.org
Fri May 29 06:56:15 UTC 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 29 00:55:54 2009 -0600

softpipe: increase max 2D/cube texture size to 4K x 4K

---

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

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index a32fd3a..4ead6c9 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -82,11 +82,11 @@ softpipe_get_param(struct pipe_screen *screen, int param)
    case PIPE_CAP_TEXTURE_SHADOW_MAP:
       return 1;
    case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
-      return 12; /* max 2Kx2K */
+      return 13; /* max 2Kx2K */
    case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
       return 8;  /* max 128x128x128 */
    case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
-      return 12; /* max 2Kx2K */
+      return 13; /* max 2Kx2K */
    default:
       return 0;
    }




More information about the mesa-commit mailing list