r600/sfn: Pipe through requesting a register at a given channel

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5963>
This commit is contained in:
Gert Wollny 2020-07-05 16:46:03 +02:00 committed by Marge Bot
parent 55cc712991
commit deccf02246
2 changed files with 3 additions and 3 deletions

View file

@ -138,9 +138,9 @@ EmitInstruction::get_literal_register(const nir_src& src) const
return nullptr;
}
PValue EmitInstruction::get_temp_register()
PValue EmitInstruction::get_temp_register(int channel)
{
return m_proc.get_temp_register();
return m_proc.get_temp_register(channel);
}
GPRVector EmitInstruction::get_temp_vec4()

View file

@ -67,7 +67,7 @@ protected:
int allocate_temp_register();
PValue get_temp_register();
PValue get_temp_register(int channel = -1);
GPRVector get_temp_vec4();
// forwards from ShaderFromNirProcessor