freedreno/ir3: convert over to ralloc
authorRob Clark <robdclark@chromium.org>
Mon, 15 Jun 2020 18:15:52 +0000 (11:15 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Jun 2020 13:16:57 +0000 (13:16 +0000)
commit74140c2e859c15593a379cbde96b1048f2ad69dc
tree921ce65c501ec858dc1a4bf8a31bdcbb332d513a
parent6039d083f781b13b420ed7abe1660d353fe3e518
freedreno/ir3: convert over to ralloc

The `ir3_shader` is the root mem ctx, with `ir3_shader_variant` hanging
off that, and various variant specific allocations hanging off the
variant.

This lets us delete a bunch of cleanup code.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5508>
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3_assembler.c
src/freedreno/ir3/ir3_shader.c