From fc72df1d9326695bd4ef97b93735154cebdb17cf Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 18 Nov 2019 16:52:02 -0600 Subject: [PATCH] iris: Re-enable param compaction In d1c4e64a69e, we added a parameter to tell the back-end compiler to ignore the param array and just push however many constants you ask it to push. I enabled it for iris because this is really what iris wants but it seems to have caused a number of regressions. Revert to the old behavior for now. Fixes: d1c4e64a69e "intel/compiler: Add a flag to avoid compacting..." --- src/gallium/drivers/iris/iris_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index cbefa9dfb13..7516e457b28 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -673,7 +673,7 @@ iris_screen_create(int fd, const struct pipe_screen_config *config) screen->compiler->shader_perf_log = iris_shader_perf_log; screen->compiler->supports_pull_constants = false; screen->compiler->supports_shader_constants = true; - screen->compiler->compact_params = false; + screen->compiler->compact_params = true; iris_disk_cache_init(screen); -- 2.30.2