freedreno/ir3: unify shader create/delete paths
authorRob Clark <robdclark@chromium.org>
Fri, 5 Jun 2020 19:41:29 +0000 (12:41 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 15:46:37 +0000 (15:46 +0000)
commit43e0062c5b3762ec6a07398d0872b174404ef0ab
tree9d5b856284c839a283ab12c61349f6eebab98e97
parent828c767113f557e2a6098342a3dfbfa3e393aa91
freedreno/ir3: unify shader create/delete paths

In particular, to move the fd_bo create/delete (which is unneeded by
turnip) out of the shared ir3 code, it is useful to have a single
delete path.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5476>
src/gallium/drivers/freedreno/a5xx/fd5_compute.c
src/gallium/drivers/freedreno/a6xx/fd6_compute.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c
src/gallium/drivers/freedreno/ir3/ir3_gallium.c
src/gallium/drivers/freedreno/ir3/ir3_gallium.h