From: Gert Wollny Date: Wed, 15 Apr 2020 15:00:54 +0000 (+0200) Subject: r600/sfn: Reduce array limit for scratch usage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc9cf6adff663889c3816b590e0b045956164ab0;p=mesa.git r600/sfn: Reduce array limit for scratch usage Signed-off-by: Gert Wollny Part-of: --- diff --git a/src/gallium/drivers/r600/sfn/sfn_nir.cpp b/src/gallium/drivers/r600/sfn/sfn_nir.cpp index bdecf75ae1f..856c386b549 100644 --- a/src/gallium/drivers/r600/sfn/sfn_nir.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_nir.cpp @@ -625,7 +625,7 @@ int r600_shader_from_nir(struct r600_context *rctx, NIR_PASS_V(sel->nir, nir_lower_vars_to_scratch, nir_var_function_temp, - 100, + 40, r600_get_natural_size_align_bytes); while (optimize && optimize_once(sel->nir));