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:
Gert Wollny 2020-04-15 16:36:10 +02:00 committed by Marge Bot
parent 93f5f9e584
commit 38038b369f

View file

@ -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);