mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 05:10:17 +01:00
aco: add missing scc def for SALU quad broadcast
Cc: mesa-stable Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26163>
This commit is contained in:
parent
18f6c2328f
commit
509ce19643
1 changed files with 1 additions and 1 deletions
|
|
@ -8720,7 +8720,7 @@ visit_intrinsic(isel_context* ctx, nir_intrinsic_instr* instr)
|
|||
src =
|
||||
bld.sop2(Builder::s_and, bld.def(bld.lm), bld.def(s1, scc), src, Operand(exec, bld.lm));
|
||||
src = bld.sop2(Builder::s_and, bld.def(bld.lm), bld.def(s1, scc), mask_tmp, src);
|
||||
bld.sop1(Builder::s_wqm, Definition(dst), src);
|
||||
bld.sop1(Builder::s_wqm, Definition(dst), bld.def(s1, scc), src);
|
||||
} else if (instr->def.bit_size <= 32 || bool_use_valu) {
|
||||
unsigned excess_bytes = bool_use_valu ? 0 : 4 - instr->def.bit_size / 8;
|
||||
Definition def = (excess_bytes || bool_use_valu) ? bld.def(v1) : Definition(dst);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue