[Piglit] [PATCH] Test "double negative" corner case in copy propagation.

Eric Anholt eric at anholt.net
Mon Sep 19 09:50:31 PDT 2011


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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20110919/daacef40/attachment.pgp>


More information about the Piglit mailing list