Module: Mesa
Branch: master
Commit: bc9cf6adff663889c3816b590e0b045956164ab0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc9cf6adff663889c3816b590e0b045956164ab0

Author: Gert Wollny <[email protected]>
Date:   Wed Apr 15 17:00:54 2020 +0200

r600/sfn: Reduce array limit for scratch usage

Signed-off-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4609>

---

 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));

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to