summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-09-05 16:57:29 -0700
committerKenneth Graunke <[email protected]>2013-09-09 14:42:33 -0700
commitb973b44a4de3bd02e6c63b4a851c14808bf1df3d (patch)
treea0e6b57593ffb5ff76235a3e957eb64878f03ed8 /src
parent722eff674b832e2321f791c68358ef52d2a1ff25 (diff)
glsl: Add missing type inference for ir_binop_bfm.
Matt noticed that this was missing. Nothing uses this currently. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ir.cpp1
1 files changed, 1 insertions, 0 deletions
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;