Cuts five instructions out of SynMark's Gl32VSInstancing benchmark.
e974781 glsl: Optimize (v.x + v.y) + (v.z + v.w) into dot(v, 1.0).
src/glsl/opt_algebraic.cpp | 46 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Upstream: cgit.freedesktop.org