Mesa (master): i915g: Bump texture sizes

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Wed May 25 20:07:46 UTC 2011


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

Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   Wed May 25 22:00:09 2011 +0200

i915g: Bump texture sizes

Spotted and tested by Christopher Egert.

Signed-off-by: Jakob Bornecrantz <wallbraker at gmail.com>

---

 src/gallium/drivers/i915/i915_resource.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_resource.h b/src/gallium/drivers/i915/i915_resource.h
index 86620e6..c15ecdf 100644
--- a/src/gallium/drivers/i915/i915_resource.h
+++ b/src/gallium/drivers/i915/i915_resource.h
@@ -45,8 +45,8 @@ struct i915_buffer {
    boolean free_on_destroy;
 };
 
-#define I915_MAX_TEXTURE_2D_LEVELS 11  /* max 1024x1024 */
-#define I915_MAX_TEXTURE_3D_LEVELS  8  /* max 128x128x128 */
+#define I915_MAX_TEXTURE_2D_LEVELS 12  /* max 2048x2048 */
+#define I915_MAX_TEXTURE_3D_LEVELS  9  /* max 256x256x256 */
 
 
 struct offset_pair {




More information about the mesa-commit mailing list