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>
This commit is contained in:
Matt Turner
2016-01-21 11:46:22 -08:00
parent 1a53a4fc7a
commit 8709dc0713
9 changed files with 8 additions and 170 deletions
-12
View File
@@ -372,12 +372,6 @@ ir_validate::visit_leave(ir_expression *ir)
assert(ir->operands[0]->type == glsl_type::uint_type);
break;
case ir_unop_unpack_half_2x16_split_x:
case ir_unop_unpack_half_2x16_split_y:
assert(ir->type == glsl_type::float_type);
assert(ir->operands[0]->type == glsl_type::uint_type);
break;
case ir_unop_unpack_double_2x32:
assert(ir->type == glsl_type::uvec2_type);
assert(ir->operands[0]->type == glsl_type::double_type);
@@ -567,12 +561,6 @@ ir_validate::visit_leave(ir_expression *ir)
assert(ir->operands[0]->type == ir->operands[1]->type);
break;
case ir_binop_pack_half_2x16_split:
assert(ir->type == glsl_type::uint_type);
assert(ir->operands[0]->type == glsl_type::float_type);
assert(ir->operands[1]->type == glsl_type::float_type);
break;
case ir_binop_ubo_load:
assert(ir->operands[0]->type == glsl_type::uint_type);