aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sfn/sfn_instruction_gds.h
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2020-04-12 16:59:05 +0200
committerMarge Bot <[email protected]>2020-04-28 08:06:33 +0000
commit075ea32e485252f0376ee7bbc84ed436e9eb4b65 (patch)
treee37b047bafdb9a015090ccc409dad76ead842cc4 /src/gallium/drivers/r600/sfn/sfn_instruction_gds.h
parent230beac5f8e5366082791b7b505583a5455e5495 (diff)
r600/sfn: Add TF write instruction
Signed-off-by: Gert Wollny <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4714>
Diffstat (limited to 'src/gallium/drivers/r600/sfn/sfn_instruction_gds.h')
-rw-r--r--src/gallium/drivers/r600/sfn/sfn_instruction_gds.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/sfn/sfn_instruction_gds.h b/src/gallium/drivers/r600/sfn/sfn_instruction_gds.h
index 1499d7fb736..72708d09990 100644
--- a/src/gallium/drivers/r600/sfn/sfn_instruction_gds.h
+++ b/src/gallium/drivers/r600/sfn/sfn_instruction_gds.h
@@ -190,6 +190,20 @@ private:
};
+class GDSStoreTessFactor : public Instruction {
+public:
+ GDSStoreTessFactor(GPRVector& value);
+ int sel() const {return m_value.sel();}
+ int chan(int i ) const {return m_value.chan_i(i);}
+
+ void replace_values(const ValueSet& candiates, PValue new_value) override;
+private:
+ bool is_equal_to(const Instruction& lhs) const override;
+ void do_print(std::ostream& os) const override;
+
+ GPRVector m_value;
+};
+
}
#endif // SFN_GDSINSTR_H