On Fri,  7 Oct 2011 12:25:55 -0700, Paul Berry <[email protected]> wrote:
> When updating a register reference to reflect the fact that we were
> taking its absolute value, the fragment shader back-end failed to
> clear the negate flag, resulting in abs(-x) getting computed as
> -abs(x).
> 
> I also found (and fixed) a similar problem in brw_eu.h, but I'm not
> aware of an actual manifestation of that problem.
> 
> Fixes piglit test glsl-fs-abs-neg-with-intermediate.

Reviewed-by: Eric Anholt <[email protected]>

Attachment: pgpVHe9D1x2NB.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to