[Mesa-dev] [PATCH] glsl: Add missing type inference for ir_binop_bfm.
Kenneth Graunke
kenneth at whitecape.org
Thu Sep 5 17:16:44 PDT 2013
Matt noticed that this was missing. Nothing uses this currently.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/glsl/ir.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp
index 8769c32..b654950 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;
--
1.8.3.4
More information about the mesa-dev
mailing list