[Mesa-stable] [PATCH 3/3] i965: Avoid applying negate to wrong MAD source.

Emil Velikov emil.l.velikov at gmail.com
Sat Mar 7 09:54:54 PST 2015


On 27 February 2015 at 19:34, Matt Turner <mattst88 at gmail.com> wrote:
> For some given GLSL IR like (+ (neg x) (* 1.2 x)), the try_emit_mad
> function would see that one of the +'s sources was a negate expression
> and set mul_negate = true without confirming that it was actually a
> multiply.
>
Hi Matt,

This commit does not pick cleanly due to with commit
8cfd1e2ac6b(i965/fs: Emit MAD instructions when possible.) and
3654b6d43ce(i965/fs: Emit MADs from (x + abs(y * z)).)

Can you please provide a backport for 10.5.

Thanks
Emil


More information about the mesa-stable mailing list