<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Dec 4, 2018 at 1:18 AM Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Now that this case only handles 64-bit destinations we can simplify<br>
a bit the code.<br></blockquote><div><br></div><div>"the code a bit". Sorry, English is hard....</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
src/intel/compiler/brw_fs_nir.cpp | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp<br>
index 6c765fc2661..3eba8a478f5 100644<br>
--- a/src/intel/compiler/brw_fs_nir.cpp<br>
+++ b/src/intel/compiler/brw_fs_nir.cpp<br>
@@ -833,7 +833,7 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)<br>
* 64-bit need to have the source data elements aligned to 64-bit.<br>
* This restriction does not apply to BDW and later.<br>
*/<br>
- if (type_sz(result.type) == 8 && type_sz(op[0].type) < 8 &&<br>
+ if (type_sz(op[0].type) < 8 &&<br>
(devinfo->is_cherryview || gen_device_info_is_9lp(devinfo))) {<br>
fs_reg tmp = bld.vgrf(result.type, 1);<br>
tmp = subscript(tmp, op[0].type, 0);<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">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/mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>