From b973b44a4de3bd02e6c63b4a851c14808bf1df3d Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 5 Sep 2013 16:57:29 -0700 Subject: [PATCH] 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 --- src/glsl/ir.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2