Mesa (master): softpipe: update comments for max texture size

Brian Paul brianp at kemper.freedesktop.org
Fri May 29 14:22:30 UTC 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 29 08:22:21 2009 -0600

softpipe: update comments for max texture size

---

 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 4ead6c9..ce6d8eb 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 13; /* max 2Kx2K */
+      return 13; /* max 4Kx4K */
    case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
       return 8;  /* max 128x128x128 */
    case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
-      return 13; /* max 2Kx2K */
+      return 13; /* max 4Kx4K */
    default:
       return 0;
    }




More information about the mesa-commit mailing list