summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir.cpp
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2016-01-21 11:46:22 -0800
committerMatt Turner <mattst88@gmail.com>2016-02-01 10:43:57 -0800
commit8709dc071323eb47be12f0929efe9e0741e9ef30 (patch)
treed5138283828494e254f1cf77fcfccf39e4908d2c /src/compiler/glsl/ir.cpp
parent1a53a4fc7ab0a1f61504f62b9e1e9bce0bc86b52 (diff)
downloadexternal_mesa3d-8709dc071323eb47be12f0929efe9e0741e9ef30.zip
external_mesa3d-8709dc071323eb47be12f0929efe9e0741e9ef30.tar.gz
external_mesa3d-8709dc071323eb47be12f0929efe9e0741e9ef30.tar.bz2
glsl: Remove 2x16 half-precision pack/unpack opcodes.
i965/fs was the only consumer, and we're now doing the lowering in NIR. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Diffstat (limited to 'src/compiler/glsl/ir.cpp')
-rw-r--r--src/compiler/glsl/ir.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp
index de9d314..5debca3 100644
--- a/src/compiler/glsl/ir.cpp
+++ b/src/compiler/glsl/ir.cpp
@@ -298,8 +298,6 @@ ir_expression::ir_expression(int op, ir_rvalue *op0)
break;
case ir_unop_noise:
- case ir_unop_unpack_half_2x16_split_x:
- case ir_unop_unpack_half_2x16_split_y:
this->type = glsl_type::float_type;
break;
@@ -422,10 +420,6 @@ ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1)
this->type = op0->type->get_base_type();
break;
- case ir_binop_pack_half_2x16_split:
- this->type = glsl_type::uint_type;
- break;
-
case ir_binop_imul_high:
case ir_binop_carry:
case ir_binop_borrow:
@@ -555,8 +549,6 @@ static const char *const operator_strs[] = {
"unpackUnorm2x16",
"unpackUnorm4x8",
"unpackHalf2x16",
- "unpackHalf2x16_split_x",
- "unpackHalf2x16_split_y",
"bitfield_reverse",
"bit_count",
"find_msb",
@@ -599,7 +591,6 @@ static const char *const operator_strs[] = {
"min",
"max",
"pow",
- "packHalf2x16_split",
"ubo_load",
"ldexp",
"vector_extract",