Commit 38038b36 authored by Gert Wollny's avatar Gert Wollny Committed by Marge Bot

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's avatarGert Wollny <gert.wollny@collabora.com>
Part-of: <mesa/mesa!4714>
parent 93f5f9e5
......@@ -76,15 +76,17 @@ public:
void remap_registers();
const nir_variable *get_deref_location(const nir_src& src) const;
protected:
void set_var_address(nir_deref_instr *instr);
void set_input(unsigned pos, PValue var);
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);
r600_shader& sh_info() {return m_sh_info;}
protected:
void set_var_address(nir_deref_instr *instr);
void set_input(unsigned pos, PValue var);
bool scan_instruction(nir_instr *instr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment