[Piglit] [PATCH] Test "double negative" corner case in copy propagation.
Paul Berry
stereotype441 at gmail.com
Mon Sep 19 10:43:38 PDT 2011
On 19 September 2011 09:50, Eric Anholt <eric at anholt.net> wrote:
> On Thu, 15 Sep 2011 09:16:39 -0700, Paul Berry <stereotype441 at gmail.com>
> wrote:
> > This patch adds two tests that exercise a subtle corner case bug found
> > in Mesa with i965: If a value is negated, and then negated again, then
> > copy propagation would fail to un-do the negation.
> >
> > The bug only exists on i965 vertex shaders, but I went ahead and
> > added the equivalent fragment shader test for completeness.
>
> For bugs where I was definitely trying to trigger a copy-propagation
> bug, I was naming them glsl-*copy-propagation before. Not a big deal
> either way. Thanks for the tests!
>
Sounds reasonable to me. I'll rename the tests and move them to the
"shaders" directory with the other copy propagation tests when I push the
patches.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20110919/91b59a15/attachment.htm>
More information about the Piglit
mailing list