mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
aco: add missing bld.scc() in byte_align_scalar()
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5207>
This commit is contained in:
parent
a0f6ca4393
commit
c3259b6e6a
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ void byte_align_scalar(isel_context *ctx, Temp vec, Operand offset, Temp dst)
|
|||
bld.pseudo(aco_opcode::p_split_vector, Definition(lo), Definition(hi), vec);
|
||||
hi = bld.pseudo(aco_opcode::p_extract_vector, bld.def(s1), hi, Operand(0u));
|
||||
if (select != Temp())
|
||||
hi = bld.sop2(aco_opcode::s_cselect_b32, bld.def(s1), hi, Operand(0u), select);
|
||||
hi = bld.sop2(aco_opcode::s_cselect_b32, bld.def(s1), hi, Operand(0u), bld.scc(select));
|
||||
lo = bld.sop2(aco_opcode::s_lshr_b64, bld.def(s2), bld.def(s1, scc), lo, shift);
|
||||
Temp mid = bld.tmp(s1);
|
||||
lo = bld.pseudo(aco_opcode::p_split_vector, bld.def(s1), Definition(mid), lo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue