mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
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:
parent
219854a864
commit
9b34969459
2 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue