anv: Add anv_pipeline_init/finish helpers
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 13 Jun 2020 18:57:32 +0000 (13:57 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 17:02:44 +0000 (17:02 +0000)
commit8f9b8af78250fe7644622580c53559caa81d155e
tree006181a4c81e35bdd177137860f1cff19c9d77a0
parent1b693341ac9c0e07b794307180a105d357d09e61
anv: Add anv_pipeline_init/finish helpers

This cleans up pipline create/destroy a bit after the compute/gfx split.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5457>
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_pipeline.c