mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
r600/sfn: remove unpack_half support
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39511>
This commit is contained in:
parent
e267a3cda2
commit
9c80f3ae34
1 changed files with 0 additions and 37 deletions
|
|
@ -1560,11 +1560,6 @@ emit_pack_32_2x16_split(const nir_alu_instr& alu, Shader& shader);
|
|||
static bool
|
||||
emit_alu_vec2_64(const nir_alu_instr& alu, Shader& shader);
|
||||
|
||||
static bool
|
||||
emit_unpack_32_2x16_split_x(const nir_alu_instr& alu, Shader& shader);
|
||||
static bool
|
||||
emit_unpack_32_2x16_split_y(const nir_alu_instr& alu, Shader& shader);
|
||||
|
||||
static bool
|
||||
emit_dot(const nir_alu_instr& alu, int nelm, Shader& shader);
|
||||
static bool
|
||||
|
|
@ -1960,10 +1955,6 @@ AluInstr::from_nir(nir_alu_instr *alu, Shader& shader)
|
|||
return emit_unpack_64_2x32_split(*alu, 0, shader);
|
||||
case nir_op_unpack_64_2x32_split_y:
|
||||
return emit_unpack_64_2x32_split(*alu, 1, shader);
|
||||
case nir_op_unpack_half_2x16_split_x:
|
||||
return emit_unpack_32_2x16_split_x(*alu, shader);
|
||||
case nir_op_unpack_half_2x16_split_y:
|
||||
return emit_unpack_32_2x16_split_y(*alu, shader);
|
||||
|
||||
case nir_op_ffma:
|
||||
if (!shader.has_flag(Shader::sh_legacy_math_rules))
|
||||
|
|
@ -2706,34 +2697,6 @@ emit_unpack_64_2x32_split(const nir_alu_instr& alu, int comp, Shader& shader)
|
|||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
emit_unpack_32_2x16_split_x(const nir_alu_instr& alu, Shader& shader)
|
||||
{
|
||||
auto& value_factory = shader.value_factory();
|
||||
shader.emit_instruction(new AluInstr(op1_flt16_to_flt32,
|
||||
value_factory.dest(alu.def, 0, pin_free),
|
||||
value_factory.src(alu.src[0], 0),
|
||||
AluInstr::write));
|
||||
return true;
|
||||
}
|
||||
static bool
|
||||
emit_unpack_32_2x16_split_y(const nir_alu_instr& alu, Shader& shader)
|
||||
{
|
||||
auto& value_factory = shader.value_factory();
|
||||
auto tmp = value_factory.temp_register();
|
||||
shader.emit_instruction(new AluInstr(op2_lshr_int,
|
||||
tmp,
|
||||
value_factory.src(alu.src[0], 0),
|
||||
value_factory.literal(16),
|
||||
AluInstr::write));
|
||||
|
||||
shader.emit_instruction(new AluInstr(op1_flt16_to_flt32,
|
||||
value_factory.dest(alu.def, 0, pin_free),
|
||||
tmp,
|
||||
AluInstr::write));
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
emit_alu_trans_op1_eg(const nir_alu_instr& alu, EAluOp opcode, Shader& shader)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue