From: Jason Ekstrand Date: Mon, 18 Nov 2019 22:52:02 +0000 (-0600) Subject: iris: Re-enable param compaction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc72df1d9326695bd4ef97b93735154cebdb17cf;p=mesa.git 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..." --- 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);