r600/sfn: update shader array info

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8563>
This commit is contained in:
Gert Wollny
2021-01-17 20:58:32 +01:00
committed by Marge Bot
parent 7717c1090a
commit 9fa48c0207
2 changed files with 17 additions and 7 deletions

View File

@@ -236,13 +236,13 @@ bool ShaderFromNir::lower(const nir_shader *shader, r600_pipe_shader *pipe_shade
sfn_log << SfnLog::trans << "Finalize\n";
impl->finalize();
impl->get_array_info(pipe_shader->shader);
if (!sfn_log.has_debug_flag(SfnLog::nomerge)) {
sfn_log << SfnLog::trans << "Merge registers\n";
impl->remap_registers();
}
impl->get_array_info(pipe_shader->shader);
sfn_log << SfnLog::trans << "Finished translating to R600 IR\n";
return true;
}