<div dir="ltr"><div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br><br></div>But definitely not tested-by :-)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 4, 2016 at 7:47 PM, Ilia Mirkin <span dir="ltr"><<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Found by inspection. Untested beyond compilation.<br>
<br>
Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
---<br>
src/compiler/nir/nir_opcodes.<wbr>py | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/compiler/nir/nir_<wbr>opcodes.py b/src/compiler/nir/nir_<wbr>opcodes.py<br>
index 15066c2..7045c95 100644<br>
--- a/src/compiler/nir/nir_<wbr>opcodes.py<br>
+++ b/src/compiler/nir/nir_<wbr>opcodes.py<br>
@@ -257,7 +257,7 @@ unpack_4x8("unorm")<br>
unpack_2x16("half")<br>
<br>
unop_horiz("pack_uvec2_to_<wbr>uint", 1, tuint32, 2, tuint32, """<br>
-dst.x = (src0.x & 0xffff) | (src0.y >> 16);<br>
+dst.x = (src0.x & 0xffff) | (src0.y << 16);<br>
""")<br>
<br>
unop_horiz("pack_uvec4_to_<wbr>uint", 1, tuint32, 4, tuint32, """<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.3<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>