On Sun, Jan 8, 2012 at 10:44 PM, Matt Turner <matts...@gmail.com> wrote: > GLSL spec boneheadedly says (a ^^ a) must actually be evaluated. > > Signed-off-by: Matt Turner <matts...@gmail.com> > ---
On second thought, maybe the better thing to do here is to evaluate $a twice, which in most cases would be dead-code eliminated, and then simplify (a ^^ a) to false? _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev