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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user