r600/sfn: drop store_deref handling for VS and TES
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7715>
This commit is contained in:
parent
eafa9bff80
commit
81df5408ca
|
@ -143,7 +143,7 @@ bool TEvalShaderFromNir::do_process_outputs(nir_variable *output)
|
|||
|
||||
bool TEvalShaderFromNir::do_emit_store_deref(const nir_variable *out_var, nir_intrinsic_instr* instr)
|
||||
{
|
||||
return m_export_processor->store_deref(out_var, instr);
|
||||
return false;
|
||||
}
|
||||
|
||||
void TEvalShaderFromNir::do_finalize()
|
||||
|
|
|
@ -230,7 +230,7 @@ void VertexShaderFromNir::do_finalize()
|
|||
|
||||
bool VertexShaderFromNir::do_emit_store_deref(const nir_variable *out_var, nir_intrinsic_instr* instr)
|
||||
{
|
||||
return m_export_processor->store_deref(out_var, instr);
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -33,18 +33,6 @@ void VertexStageExportBase::scan_store_output(nir_intrinsic_instr* instr)
|
|||
|
||||
}
|
||||
|
||||
bool VertexStageExportBase::store_deref(const nir_variable *out_var, nir_intrinsic_instr* instr)
|
||||
{
|
||||
const store_loc store_info = {
|
||||
out_var->data.location_frac,
|
||||
(unsigned int)out_var->data.location,
|
||||
out_var->data.driver_location,
|
||||
1
|
||||
};
|
||||
|
||||
return do_store_output(store_info, instr);
|
||||
}
|
||||
|
||||
bool VertexStageExportBase::store_output(nir_intrinsic_instr* instr)
|
||||
{
|
||||
auto index = nir_src_as_const_value(instr->src[1]);
|
||||
|
|
|
@ -18,7 +18,6 @@ class VertexStageExportBase
|
|||
public:
|
||||
VertexStageExportBase(VertexStage& proc);
|
||||
virtual ~VertexStageExportBase();
|
||||
virtual bool store_deref(const nir_variable *out_var, nir_intrinsic_instr* instr);
|
||||
virtual void finalize_exports() = 0;
|
||||
virtual bool do_process_outputs(nir_variable *output);
|
||||
|
||||
|
|
Loading…
Reference in New Issue