nak: Implement unpack_64_2x32_split_*

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
Faith Ekstrand
2023-04-10 17:23:23 -05:00
committed by Marge Bot
parent 2bd71dd0f0
commit d0e0e02db7
+8
View File
@@ -379,6 +379,14 @@ impl<'a> ShaderFromNir<'a> {
srcs[1],
));
}
nir_op_unpack_64_2x32_split_x => {
self.instrs
.push(Instr::new_split(&[dst, Dst::None], srcs[0]));
}
nir_op_unpack_64_2x32_split_y => {
self.instrs
.push(Instr::new_split(&[Dst::None, dst], srcs[0]));
}
_ => panic!("Unsupported ALU instruction: {}", alu.info().name()),
}
}