aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2019-04-19 15:36:00 +0200
committerMarge Bot <[email protected]>2020-03-09 16:31:08 +0000
commit6b9f6caf0676bf875d7b346f9d1838c2b6c6b2f1 (patch)
tree2b89d13d35ff9652ad548c32511c197f0f78668d /src/mesa/program
parent878a35db9dafa0cd8da19149d6f5c34e652a1459 (diff)
glsl: Add IR conversion ops for 16-bit float types
Adds ir_unop_f162f and ir_unop_f2f16. Reviewed-by: Ian Romanick <[email protected]> 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/program')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 4cd9abb9ce3..2f7b52c9d98 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -1347,6 +1347,8 @@ ir_to_mesa_visitor::visit(ir_expression *ir)
case ir_unop_atan:
case ir_binop_atan2:
case ir_unop_clz:
+ case ir_unop_f162f:
+ case ir_unop_f2f16:
assert(!"not supported");
break;