<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 13, 2017 at 7:35 AM, Alejandro Piñeiro <span dir="ltr"><<a href="mailto:apinheiro@igalia.com" target="_blank">apinheiro@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Eduardo Lima Mitev <<a href="mailto:elima@igalia.com">elima@igalia.com</a>><br>
<br>
This will include the following NIR ALU opcodes:<br>
 * nir_op_i2i16<br>
 * nir_op_i2f16<br>
 * nir_op_u2u16<br>
 * nir_op_u2f16<br>
 * nir_op_f2i16<br>
 * nir_op_f2u16<br>
 * nir_op_f2f16<br>
---<br>
 src/compiler/nir/nir_opcodes_<wbr>c.py | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/compiler/nir/nir_<wbr>opcodes_c.py b/src/compiler/nir/nir_<wbr>opcodes_c.py<br>
index a7721d3..01776be 100644<br>
--- a/src/compiler/nir/nir_<wbr>opcodes_c.py<br>
+++ b/src/compiler/nir/nir_<wbr>opcodes_c.py<br>
@@ -62,7 +62,7 @@ nir_type_conversion_op(nir_<wbr>alu_type src, nir_alu_type dst, nir_rounding_mode rnd<br>
 %                 endif<br>
 %              endif<br>
                switch (dst_bit_size) {<br>
-%                 for dst_bits in [32, 64]:<br>
+%                 for dst_bits in [16, 32, 64]:<br></blockquote><div><br></div><div>You also need to update nir_type_conversion_op in nir_opcodes_c.py.  Also, shouldn't this go before patch 6?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                   case ${dst_bits}:<br>
 %                   if src_t == 'float' and dst_t == 'float'  and dst_bits == 16:<br>
                      switch(rnd) {<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.9.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></div>