mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
nak: Fix nir_op_f2f64
We were only allocating one register Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26743>
This commit is contained in:
parent
7ced1d3648
commit
26d649f120
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ impl<'a> ShaderFromNir<'a> {
|
|||
let src_type = FloatType::from_bits(src_bits.into());
|
||||
let dst_type = FloatType::from_bits(dst_bits.into());
|
||||
|
||||
let dst = b.alloc_ssa(RegFile::GPR, 1);
|
||||
let dst = b.alloc_ssa(RegFile::GPR, dst_bits.div_ceil(32));
|
||||
b.push_op(OpF2F {
|
||||
dst: dst.into(),
|
||||
src: srcs[0],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue