mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
agx: Use agx_subdivide_to for umul_high
Helpers! Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20559>
This commit is contained in:
parent
f6c5b2a5a3
commit
5b25ee6cc7
1 changed files with 1 additions and 3 deletions
|
|
@ -316,9 +316,7 @@ agx_umul_high_to(agx_builder *b, agx_index dst, agx_index P, agx_index Q)
|
|||
agx_index product = agx_temp(b->shader, P.size + 1);
|
||||
agx_imad_to(b, product, agx_abs(P), agx_abs(Q), agx_zero(), 0);
|
||||
|
||||
agx_instr *split = agx_split(b, 2, product);
|
||||
split->dest[1] = dst;
|
||||
return split;
|
||||
return agx_subdivide_to(b, dst, product, 1);
|
||||
}
|
||||
|
||||
static enum agx_format
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue