On Sat, 16 Jun 2012 02:20:09 -0700, Kenneth Graunke <kenn...@whitecape.org> 
wrote:
> The idea here is to rewrite comparisons like 2 >= x with x <= 2; we want
> to simply exchange arguments, not negate the condition.  If equality was
> part of the original comparison, it should remain part of the swapped
> version.
> 
> This is the true cause of bug #50298.  It didn't manifest itself on
> Sandybridge because we embed the conditional modifier in the IF
> instruction rather than emitting a CMP.  All other platforms use CMP.

*headdesk*

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgpNkQGsMPZWZ.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to