Mesa (master): iris: Re-enable param compaction
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 18 22:54:41 UTC 2019
Module: Mesa
Branch: master
Commit: fc72df1d9326695bd4ef97b93735154cebdb17cf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc72df1d9326695bd4ef97b93735154cebdb17cf
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Mon Nov 18 16:52:02 2019 -0600
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);
More information about the mesa-commit
mailing list