diff options
author | Jason Ekstrand <[email protected]> | 2019-11-18 16:52:02 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-11-18 16:54:07 -0600 |
commit | fc72df1d9326695bd4ef97b93735154cebdb17cf (patch) | |
tree | acfdc81aed8806c89a3b2628c0b668d1d85bed1d /src | |
parent | 189c0cc45b8079aed86e5bd6eb31d356d14814cb (diff) |
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..."
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |