On 10/16/2013 11:14 AM, Ian Romanick wrote: > On 10/15/2013 11:55 PM, Matt Turner wrote: >> Two extra instructions in some heroesofnewerth shaders, but a win for >> everything else. >> >> total instructions in shared programs: 1531352 -> 1530815 (-0.04%) >> instructions in affected programs: 121898 -> 121361 (-0.44%) > > Just curious... what causes these expressions in the affected shaders? > Did the app developer write it, do did another one of our passes > generate it?
Heroes of Newerth routinely does: (SomeVector.xy * vec2(-1.0, -1.0)) One of the Humus demos also multiplies by vec2(-1, 1) for various combinations of signs. --Ken _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
