r600/sfn: Add slot access operator to AluGroup

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321>
This commit is contained in:
Gert Wollny
2025-09-11 23:45:01 +02:00
committed by Marge Bot
parent 12d913fe4f
commit 8e0a0ca098
@@ -35,6 +35,11 @@ public:
auto end() { return m_slots.begin() + s_max_slots; }
auto begin() const { return m_slots.begin(); }
auto end() const { return m_slots.begin() + s_max_slots; }
auto operator[](int i)
{
assert(i < s_max_slots);
return m_slots[i];
}
bool end_group() const override { return true; }