diff options
author | Neil Roberts <[email protected]> | 2019-05-16 13:25:28 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-09 16:31:08 +0000 |
commit | 5d6b007da8a36254e03e2ae9e83bd3330f528dc8 (patch) | |
tree | f8de82d38e0c8d64a5b495f947feba241f3a1467 /src/mesa | |
parent | 6b9f6caf0676bf875d7b346f9d1838c2b6c6b2f1 (diff) |
glsl: Add b2f16 and f162b conversion operations
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3929>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 2 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 2f7b52c9d98..ee7741b8755 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1349,6 +1349,8 @@ ir_to_mesa_visitor::visit(ir_expression *ir) case ir_unop_clz: case ir_unop_f162f: case ir_unop_f2f16: + case ir_unop_f162b: + case ir_unop_b2f16: assert(!"not supported"); break; diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 4871eb97545..e53bed93f6b 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -2397,6 +2397,8 @@ glsl_to_tgsi_visitor::visit_expression(ir_expression* ir, st_src_reg *op) case ir_binop_mul_32x16: case ir_unop_f162f: case ir_unop_f2f16: + case ir_unop_f162b: + case ir_unop_b2f16: /* This operation is not supported, or should have already been handled. */ assert(!"Invalid ir opcode in glsl_to_tgsi_visitor::visit()"); |