<div dir="ltr">On 8 April 2013 19:27, Kenneth Graunke <span dir="ltr"><<a href="mailto:kenneth@whitecape.org" target="_blank">kenneth@whitecape.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In the past, we preferred X-tiling for color buffers because our BLT<br>
code couldn't handle Y-tiling.  However, the BLT paths have been largely<br>
replaced by BLORP on Gen6+, which can handle any kind of tiling.<br>
<br>
We hadn't measured any performance improvement in the past, but that's<br>
probably because compressed textures were all uncompressed anyway.<br>
<br>
Improves performance in GLB27_TRex_C24Z16_FixedTime by 7.69231%.<br>
<br>
Signed-off-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>><br></blockquote><div><br></div><div>This patch regresses piglit test "spec/!OpenGL 1.2/tex3d-maxsize" for me (on Gen7).<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c<br>
index 8dd04be..6a9f08c 100644<br>
--- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c<br>
+++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c<br>
@@ -344,7 +344,7 @@ intel_miptree_choose_tiling(struct intel_context *intel,<br>
       return I915_TILING_Y;<br>
<br>
    if (width0 >= 64)<br>
-      return I915_TILING_X;<br>
+      return intel->gen >= 6 ? I915_TILING_Y : I915_TILING_X;<br>
<br>
    return I915_TILING_NONE;<br>
 }<br>
<span class=""><font color="#888888">--<br>
1.8.1.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div>