<div dir="auto"><div dir="auto">For the series:</div><div dir="auto"><br></div>Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><div dir="auto"><br></div><div dir="auto">Marek</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 10, 2017 1:56 PM, "Nicolai Hähnle" <<a href="mailto:nhaehnle@gmail.com">nhaehnle@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Both patches:<br>
<br>
Reviewed-by: Nicolai Hähnle <<a href="mailto:nicolai.haehnle@amd.com" target="_blank">nicolai.haehnle@amd.com</a>><br>
<br>
On 10.10.2017 05:25, Dave Airlie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Dave Airlie <<a href="mailto:airlied@redhat.com" target="_blank">airlied@redhat.com</a>><br>
<br>
This lowers ffma to a * b + c.<br>
<br>
This seems like it should keep Marek happiest, so<br>
we'd never get to the fma instruction emission code.<br>
<br>
Signed-off-by: Dave Airlie <<a href="mailto:airlied@redhat.com" target="_blank">airlied@redhat.com</a>><br>
---<br>
src/gallium/drivers/radeonsi/s<wbr>i_pipe.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/src/gallium/drivers/radeonsi<wbr>/si_pipe.c b/src/gallium/drivers/radeonsi<wbr>/si_pipe.c<br>
index 4384987..b02247d 100644<br>
--- a/src/gallium/drivers/radeonsi<wbr>/si_pipe.c<br>
+++ b/src/gallium/drivers/radeonsi<wbr>/si_pipe.c<br>
@@ -794,6 +794,7 @@ static const struct nir_shader_compiler_options nir_options = {<br>
.lower_fsat = true,<br>
.lower_fdiv = true,<br>
.lower_sub = true,<br>
+ .lower_ffma = true,<br>
.lower_pack_snorm_2x16 = true,<br>
.lower_pack_snorm_4x8 = true,<br>
.lower_pack_unorm_2x16 = true,<br>
<br>
</blockquote>
<br>
<br>
-- <br>
Lerne, wie die Welt wirklich ist,<br>
Aber vergiss niemals, wie sie sein sollte.<br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>