r600/sfn: implement TF allowed channel mask override

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:
Gert Wollny 2022-12-08 11:39:01 +01:00 committed by Marge Bot
parent 219854a864
commit 9b34969459
2 changed files with 9 additions and 0 deletions

View file

@ -623,6 +623,13 @@ WriteTFInstr::from_string(std::istream& is, ValueFactory& vf) -> Pointer
return new WriteTFInstr(value);
}
uint8_t
WriteTFInstr::allowed_src_chan_mask() const
{
return value().free_chan_mask();
}
bool
WriteTFInstr::do_ready() const
{

View file

@ -246,6 +246,8 @@ public:
static auto from_string(std::istream& is, ValueFactory& vf) -> Pointer;
uint8_t allowed_src_chan_mask() const override;
private:
bool do_ready() const override;
void do_print(std::ostream& os) const override;