i915g: Bump texture sizes
authorJakob Bornecrantz <wallbraker@gmail.com>
Wed, 25 May 2011 20:00:09 +0000 (22:00 +0200)
committerJakob Bornecrantz <wallbraker@gmail.com>
Wed, 25 May 2011 20:06:11 +0000 (22:06 +0200)
Spotted and tested by Christopher Egert.

Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
src/gallium/drivers/i915/i915_resource.h

index 86620e6..c15ecdf 100644 (file)
@@ -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 {