glsl: Fix type-deduction for and/or/xor expressions
authorChad Versace <chad.versace@linux.intel.com>
Tue, 15 Jan 2013 20:16:12 +0000 (12:16 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Fri, 25 Jan 2013 05:24:10 +0000 (21:24 -0800)
commit9d7931ddf06bd41f1b1a589503cd028ff00d134e
tree65137ed6d4ae27580d85c40e187292533cfb4897
parentccf87f2199819a9e78713e416a34b886194a2f51
glsl: Fix type-deduction for and/or/xor expressions

In ir_expression's constructor, the cases for {bit,logic}_{and,or,xor}
failed to handle the case when both operands were vectors.

Note: This is a candidate for the stable branches.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/glsl/ir.cpp