glsl: Add missing type inference for ir_binop_bfm.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 5 Sep 2013 23:57:29 +0000 (16:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 9 Sep 2013 21:42:33 +0000 (14:42 -0700)
Matt noticed that this was missing.  Nothing uses this currently.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/ir.cpp

index 69e20333d02a805358d8e1e38aa7d5703eea6754..67251c1b39758d0dba1577f4f626d8d941a1393b 100644 (file)
@@ -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;