On 09/08/2011 11:32 PM, Eric Anholt wrote: > + * Does algebraic optimizations (0 * a = 0, 1 * a = a, a + 0 = a).
I was going to ask "what about commutativity?"...after all, 0 * a but a + 0 seems kind of arbitrary...but then I implemented it and tried it on shader-db: Total instructions: 39967 -> 39967 0/137 programs affected (0.0%) So, apparently not worth it. :) Assuming you apply my fixup and add the missing progress = true, Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev