[Piglit] [PATCH] Add tests for abs(-x) with intermediate.
eric at anholt.net
Mon Oct 10 10:48:16 PDT 2011
On Fri, 7 Oct 2011 12:24:14 -0700, Paul Berry <stereotype441 at gmail.com> wrote:
> These tests exercise a bug I found in the Mesa i965 fragment shader:
> when computing abs(-x), if the intermediate value (-x) was used
> elsewhere in the shader, then abs(-x) was incorrectly computed as
> -abs(x). The failure did not occur if the intermediate value was not
> used, so this bug was not caught by the
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 Piglit