[Mesa-dev] [PATCH] glsl: remove logical xor FINISHME
eric at anholt.net
Mon Jan 9 08:36:19 PST 2012
On Sun, 8 Jan 2012 22:44:17 -0500, Matt Turner <mattst88 at gmail.com> wrote:
> GLSL spec boneheadedly says (a ^^ a) must actually be evaluated.
What it's trying to say there is that any side-effects of both LHS and
RHS will occur (as opposed to how && or || work), not that you actually
compute the expression that you could just avoid. Any side effects will
already be taken care of before opt_algebraic gets a look at the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev