radv: create/destroy passmgr at the higher level.
authorDave Airlie <airlied@redhat.com>
Tue, 26 Jun 2018 23:11:47 +0000 (09:11 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 Jul 2018 19:31:05 +0000 (05:31 +1000)
commite1387eaf124b298d65707fce77e942af9622cbe1
tree8f75104721e29fc85a2fc5fe7903f12d41c65b61
parent97d9b88447f52ad0df4845194562cb7f655c1289
radv: create/destroy passmgr at the higher level.

This is prep work for moving this to a per-thread struct

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.c