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>
diff --git a/src/gallium/drivers/r600/sfn/sfn_emitinstruction.cpp b/src/gallium/drivers/r600/sfn/sfn_emitinstruction.cpp
index a5ace9a..40a9915 100644
--- a/src/gallium/drivers/r600/sfn/sfn_emitinstruction.cpp
+++ b/src/gallium/drivers/r600/sfn/sfn_emitinstruction.cpp
@@ -138,9 +138,9 @@
       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()
diff --git a/src/gallium/drivers/r600/sfn/sfn_emitinstruction.h b/src/gallium/drivers/r600/sfn/sfn_emitinstruction.h
index a4470cb9..9e1958f 100644
--- a/src/gallium/drivers/r600/sfn/sfn_emitinstruction.h
+++ b/src/gallium/drivers/r600/sfn/sfn_emitinstruction.h
@@ -67,7 +67,7 @@
 
    int allocate_temp_register();
 
-   PValue get_temp_register();
+   PValue get_temp_register(int channel = -1);
    GPRVector get_temp_vec4();
 
    // forwards from ShaderFromNirProcessor