mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 22:20:14 +01:00
aco/ir: return true in hasRegClass for Operand(reg, rc)
Makes isOfType() usable after lower_to_hw_instr. Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21402>
This commit is contained in:
parent
a62a22c922
commit
0f023d90c0
1 changed files with 1 additions and 1 deletions
|
|
@ -748,7 +748,7 @@ public:
|
|||
|
||||
constexpr uint32_t tempId() const noexcept { return data_.temp.id(); }
|
||||
|
||||
constexpr bool hasRegClass() const noexcept { return isTemp() || isUndefined(); }
|
||||
constexpr bool hasRegClass() const noexcept { return !isConstant(); }
|
||||
|
||||
constexpr RegClass regClass() const noexcept { return data_.temp.regClass(); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue