r600/sfn: Allow copy prop into GDS sources values
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20205>
This commit is contained in:
@@ -47,7 +47,8 @@ public:
|
||||
bool do_ready() const override;
|
||||
|
||||
auto opcode() const { return m_op; }
|
||||
auto src() const { return m_src; }
|
||||
auto& src() { return m_src; }
|
||||
auto& src() const { return m_src; }
|
||||
|
||||
const auto& dest() const { return m_dest; }
|
||||
auto& dest() { return m_dest; }
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "sfn_instr_export.h"
|
||||
#include "sfn_instr_fetch.h"
|
||||
#include "sfn_instr_lds.h"
|
||||
#include "sfn_instr_mem.h"
|
||||
#include "sfn_instr_tex.h"
|
||||
#include "sfn_peephole.h"
|
||||
#include "sfn_valuefactory.h"
|
||||
@@ -251,7 +252,7 @@ public:
|
||||
void visit(StreamOutInstr *instr) override { (void)instr; }
|
||||
void visit(MemRingOutInstr *instr) override { (void)instr; }
|
||||
void visit(EmitVertexInstr *instr) override { (void)instr; }
|
||||
void visit(GDSInstr *instr) override { (void)instr; };
|
||||
void visit(GDSInstr *instr) override;
|
||||
void visit(WriteTFInstr *instr) override { (void)instr; };
|
||||
void visit(RatInstr *instr) override { (void)instr; };
|
||||
|
||||
@@ -412,6 +413,11 @@ CopyPropFwdVisitor::visit(TexInstr *instr)
|
||||
propagate_to(instr->src(), instr);
|
||||
}
|
||||
|
||||
void CopyPropFwdVisitor::visit(GDSInstr *instr)
|
||||
{
|
||||
propagate_to(instr->src(), instr);
|
||||
}
|
||||
|
||||
void
|
||||
CopyPropFwdVisitor::visit(ExportInstr *instr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user