mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
aco: return true in usesModifiers for VOP12C with opsel
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22069>
This commit is contained in:
parent
82f7b3acfa
commit
fc1bf9c3b4
1 changed files with 1 additions and 1 deletions
|
|
@ -1757,7 +1757,7 @@ Instruction::usesModifiers() const noexcept
|
|||
/* opsel_hi must be 1 to not be considered a modifier - even for constants */
|
||||
return vop3p.opsel_lo || vop3p.clamp || vop3p.neg_lo || vop3p.neg_hi ||
|
||||
(vop3p.opsel_hi & BITFIELD_MASK(operands.size())) != BITFIELD_MASK(operands.size());
|
||||
} else if (isVOP3()) {
|
||||
} else if (isVALU()) {
|
||||
const VALU_instruction& vop3 = this->valu();
|
||||
return vop3.opsel || vop3.clamp || vop3.omod || vop3.abs || vop3.neg;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue