glsl: Emit mul instead of dot if only one component left.
authorMatt Turner <mattst88@gmail.com>
Fri, 31 Oct 2014 17:33:17 +0000 (10:33 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 3 Nov 2014 19:27:38 +0000 (11:27 -0800)
commit336e76c1439823185d425ebecb849ce38d55c4eb
treec1899bdf81bf5100d8ed5609cb4992d606af8373
parent263eb7fa39a16bcce7d64a4b8343c6adbc3e916c
glsl: Emit mul instead of dot if only one component left.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85683
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85691
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/opt_algebraic.cpp