From: Kenneth Graunke Date: Thu, 5 Sep 2013 23:57:29 +0000 (-0700) Subject: glsl: Add missing type inference for ir_binop_bfm. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b973b44a4de3bd02e6c63b4a851c14808bf1df3d;p=mesa.git glsl: Add missing type inference for ir_binop_bfm. Matt noticed that this was missing. Nothing uses this currently. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner Reviewed-by: Paul Berry --- diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 69e20333d02..67251c1b397 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -400,6 +400,7 @@ ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1) case ir_binop_lshift: case ir_binop_rshift: + case ir_binop_bfm: this->type = op0->type; break;