lavapipe: use ralloc for pipeline copies.
authorDave Airlie <airlied@redhat.com>
Mon, 7 Dec 2020 22:31:58 +0000 (08:31 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Dec 2020 00:46:18 +0000 (10:46 +1000)
commita2cf0590234e856b5e7f6f6b0d7fc1d3f3a3fec6
treef71dc0b94202d3ec267b569f71bd917505d77954
parent04c7fce799ac18f4c2ab147c0a9780483befe527
lavapipe: use ralloc for pipeline copies.

We have to store every struct that is in the pipeline for processing
later, use ralloc to make freeing this mess easier.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7978>
src/gallium/frontends/lavapipe/lvp_pipeline.c
src/gallium/frontends/lavapipe/lvp_private.h