r600/sfn: Add method to convert to AluGroup directly

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24297>
This commit is contained in:
Gert Wollny
2023-07-21 17:01:11 +02:00
committed by Marge Bot
parent bd7a9b7f4e
commit acf21d7462
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -137,6 +137,8 @@ public:
};
const InstrList& required_instr() const { return m_required_instr; }
virtual AluGroup *as_alu_group() { return nullptr;}
protected:
@@ -98,6 +98,8 @@ public:
void set_origin(AluInstr *o) { m_origin = o;}
AluGroup *as_alu_group() override { return this;}
private:
void forward_set_blockid(int id, int index) override;
bool do_ready() const override;