mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
aco: implement nir_op_unpack_[64/32]_*
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6527>
This commit is contained in:
parent
79cd22b889
commit
543f50789a
1 changed files with 6 additions and 0 deletions
|
|
@ -2561,6 +2561,12 @@ void visit_alu_instr(isel_context *ctx, nir_alu_instr *instr)
|
|||
}
|
||||
break;
|
||||
}
|
||||
case nir_op_unpack_64_2x32:
|
||||
case nir_op_unpack_32_2x16:
|
||||
case nir_op_unpack_64_4x16:
|
||||
bld.copy(Definition(dst), get_alu_src(ctx, instr->src[0]));
|
||||
emit_split_vector(ctx, dst, instr->op == nir_op_unpack_64_4x16 ? 4 : 2);
|
||||
break;
|
||||
case nir_op_pack_64_2x32_split: {
|
||||
Temp src0 = get_alu_src(ctx, instr->src[0]);
|
||||
Temp src1 = get_alu_src(ctx, instr->src[1]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue