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:
Rhys Perry
2023-09-22 19:33:17 +01:00
committed by Marge Bot
parent ed3ca5b781
commit e4842c0270
+1 -1
View File
@@ -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;