iris: Re-enable param compaction

In d1c4e64a69, 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: d1c4e64a69 "intel/compiler: Add a flag to avoid compacting..."
This commit is contained in:
Jason Ekstrand 2019-11-18 16:52:02 -06:00
parent 189c0cc45b
commit fc72df1d93
1 changed files with 1 additions and 1 deletions

View File

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