Mesa (master): softpipe: update SP_MAX_TEXTURE_3D_LEVELS comment

Brian Paul brianp at kemper.freedesktop.org
Mon Sep 17 01:00:59 UTC 2012


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

Author: Brian Paul <brianp at vmware.com>
Date:   Sun Sep 16 18:59:51 2012 -0600

softpipe: update SP_MAX_TEXTURE_3D_LEVELS comment

9 levels = max size of 256 texels.

---

 src/gallium/drivers/softpipe/sp_limits.h |    2 +-
 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 ada5c0c..0df683b 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_2D_LEVELS 15  /* 16K x 16K */
-#define SP_MAX_TEXTURE_3D_LEVELS 9   /* 512 x 512 x 512 */
+#define SP_MAX_TEXTURE_3D_LEVELS 9   /* 256 x 256 x 256 */
 #define SP_MAX_TEXTURE_CUBE_LEVELS 13  /* 4K x 4K */
 
 




More information about the mesa-commit mailing list