On 18 October 2011 18:07, Brian Paul <span dir="ltr">&lt;<a href="mailto:brian.e.paul@gmail.com">brian.e.paul@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
From: Brian Paul &lt;<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>&gt;<br>
<br>
---<br>
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp |    3 ++-<br>
 1 files changed, 2 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp<br>
index e003020..0ea6d31 100644<br>
--- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp<br>
+++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp<br>
@@ -1549,7 +1549,8 @@ vec4_visitor::try_rewrite_rhs_to_dst(ir_assignment *ir,<br>
     * potentially reswizzle the operands of many instructions so that<br>
     * we could handle out of order channels, but don&#39;t yet.<br>
     */<br>
-   for (int i = 0; i &lt; 4; i++) {<br>
+<br>
+   for (unsigned i = 0; i &lt; 4; i++) {<br>
       if (dst.writemask &amp; (1 &lt;&lt; i)) {<br>
         if (!(last_rhs_inst-&gt;dst.writemask &amp; (1 &lt;&lt; i)))<br>
            return false;<br>
<font color="#888888">--<br>
1.7.3.4<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></blockquote></div><br>Reviewed-by: Paul Berry &lt;<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>&gt;<br>