anv/pipeline: Add a mem_ctx parameter to anv_pipeline_compile
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 29 Sep 2017 04:51:48 +0000 (21:51 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 05:39:30 +0000 (22:39 -0700)
commit490d80fd1a55287b31ce62d0bf07801316632e78
treefc6339bf1b653b8cedcef2cd677197b1bfbdcdfd
parentcfc7ed75eb8baab69308ed520f97a3efd75fb548
anv/pipeline: Add a mem_ctx parameter to anv_pipeline_compile

This lets us avoid some of the manual ralloc stealing and prepares for
future commits in which we will want to ralloc prog_data::param.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_pipeline.c