mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
r600/sfn: implement GDS op channel mask evaluation
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
4d4411588b
commit
586ba9c223
2 changed files with 6 additions and 0 deletions
|
|
@ -111,6 +111,11 @@ GDSInstr::emit_atomic_counter(nir_intrinsic_instr *intr, Shader& shader)
|
|||
}
|
||||
}
|
||||
|
||||
uint8_t GDSInstr::allowed_src_chan_mask() const
|
||||
{
|
||||
return m_src.free_chan_mask();
|
||||
}
|
||||
|
||||
static ESDOp
|
||||
get_opcode(const nir_intrinsic_op opcode)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ public:
|
|||
|
||||
static bool emit_atomic_counter(nir_intrinsic_instr *intr, Shader& shader);
|
||||
uint32_t slots() const override { return 1; };
|
||||
uint8_t allowed_src_chan_mask() const override;
|
||||
|
||||
private:
|
||||
static bool emit_atomic_read(nir_intrinsic_instr *intr, Shader& shader);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue