[Mesa-dev] [PATCH 12/13] i965: Refer people to brw_tex_layout.c rather than the BSpec.
Kenneth Graunke
kenneth at whitecape.org
Wed Jul 10 16:28:06 PDT 2013
brw_tex_layout.c sets up the align_w/h fields, and has all the
appropriate spec references already.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
I really shouuuuuuld go update the comments in brw_tex_layout.c now that I
have a better understanding of how things work, but that's a lot of digging
through specs and I'm inclined to be lazy for a little longer :(
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 */
--
1.8.3.2
More information about the mesa-dev
mailing list