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

Author: Kenneth Graunke <[email protected]>
Date:   Wed Jul 10 16:07:14 2013 -0700

i965: Refer people to brw_tex_layout.c rather than the BSpec.

brw_tex_layout.c sets up the align_w/h fields, and has all the
appropriate spec references already.

Signed-off-by: Kenneth Graunke <[email protected]>

---

 src/mesa/drivers/dri/i965/intel_mipmap_tree.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h 
b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
index 3304c3e..8face46 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
@@ -292,8 +292,8 @@ struct intel_mipmap_tree
    gl_format etc_format;
 
    /**
-    * The X offset of each image in the miptree must be aligned to this. See
-    * the "Alignment Unit Size" section of the BSpec.
+    * The X offset of each image in the miptree must be aligned to this.
+    * See the comments in brw_tex_layout.c.
     */
    unsigned int align_w;
    unsigned int align_h; /**< \see align_w */

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to