aco: consider exec_hi in reads_exec()
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/25374>
This commit is contained in:
@@ -1052,7 +1052,7 @@ struct Instruction {
|
||||
constexpr bool reads_exec() const noexcept
|
||||
{
|
||||
for (const Operand& op : operands) {
|
||||
if (op.isFixed() && op.physReg() == exec)
|
||||
if (op.isFixed() && (op.physReg() == exec_lo || op.physReg() == exec_hi))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user