From bc9cf6adff663889c3816b590e0b045956164ab0 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Wed, 15 Apr 2020 17:00:54 +0200 Subject: [PATCH] r600/sfn: Reduce array limit for scratch usage Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2