[Mesa-dev] [PATCH] i965: Fix computation of abs(-x) in FS
eric at anholt.net
Mon Oct 10 10:51:03 PDT 2011
On Fri, 7 Oct 2011 12:25:55 -0700, Paul Berry <stereotype441 at gmail.com> 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
> 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 <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev