commit | 9df64b56663c3ffaee081aa608db9e5163a4eeae | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Sep 29 10:06:17 2017 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Oct 12 22:39:30 2017 -0700 |
tree | 4e8522c87cea003483ed867c6c5f0adfef74fa60 | |
parent | 490d80fd1a55287b31ce62d0bf07801316632e78 [diff] |
anv/pipeline: Ralloc prog_data::param of the compile mem_ctx This way we stop leaking it. This is completely safe because, when we hand it off to anv_shader_bin_create or anv_pipeline_cache_upload_kernel, they make a copy of the entire param array. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>