diff options
author | Dave Airlie <[email protected]> | 2016-06-10 16:18:51 +1000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-01-20 15:41:23 -0800 |
commit | a53f315ad8de29f0057359722dfc24f31b6b7998 (patch) | |
tree | 449d3de46f73bb6be885f124a2baf5b6258302d9 | |
parent | f82ced5af3a65d4eccc2910c99ca3af3776c40d1 (diff) |
mesa/program: Add unused ir operations.
v2 (idr): "cut them down later" => Remove ir_unop_b2u64 and
ir_unop_u642b. Handle these with extra i2u or u2i casts just like
uint(bool) and bool(uint) conversion is done.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 85e6e92a2d5..0ae797f1eca 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1382,6 +1382,34 @@ ir_to_mesa_visitor::visit(ir_expression *ir) case ir_unop_vote_any: case ir_unop_vote_all: case ir_unop_vote_eq: + case ir_unop_bitcast_u642d: + case ir_unop_bitcast_i642d: + case ir_unop_bitcast_d2u64: + case ir_unop_bitcast_d2i64: + case ir_unop_i642i: + case ir_unop_u642i: + case ir_unop_i642u: + case ir_unop_u642u: + case ir_unop_i642b: + case ir_unop_i642f: + case ir_unop_u642f: + case ir_unop_i642d: + case ir_unop_u642d: + case ir_unop_i2i64: + case ir_unop_u2i64: + case ir_unop_b2i64: + case ir_unop_f2i64: + case ir_unop_d2i64: + case ir_unop_i2u64: + case ir_unop_u2u64: + case ir_unop_f2u64: + case ir_unop_d2u64: + case ir_unop_u642i64: + case ir_unop_i642u64: + case ir_unop_pack_int_2x32: + case ir_unop_unpack_int_2x32: + case ir_unop_pack_uint_2x32: + case ir_unop_unpack_uint_2x32: assert(!"not supported"); break; |