mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 07:20:16 +01:00
r600/sfn: Move some shader base methods to the public interface
This will be needed for handling the VS stage export better. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4714>
This commit is contained in:
parent
93f5f9e584
commit
38038b369f
1 changed files with 7 additions and 5 deletions
|
|
@ -76,15 +76,17 @@ public:
|
|||
void remap_registers();
|
||||
|
||||
const nir_variable *get_deref_location(const nir_src& src) const;
|
||||
|
||||
r600_shader& sh_info() {return m_sh_info;}
|
||||
void add_param_output_reg(int loc, const GPRVector *gpr);
|
||||
void set_output(unsigned pos, PValue var);
|
||||
const GPRVector *output_register(unsigned location) const;
|
||||
void evaluate_spi_sid(r600_shader_io &io);
|
||||
|
||||
protected:
|
||||
|
||||
void set_var_address(nir_deref_instr *instr);
|
||||
void set_input(unsigned pos, PValue var);
|
||||
void set_output(unsigned pos, PValue var);
|
||||
|
||||
void evaluate_spi_sid(r600_shader_io &io);
|
||||
|
||||
r600_shader& sh_info() {return m_sh_info;}
|
||||
|
||||
bool scan_instruction(nir_instr *instr);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue