radv: move queue object to a common base object
authorDave Airlie <airlied@redhat.com>
Mon, 25 Jan 2021 01:23:58 +0000 (11:23 +1000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 1 Feb 2021 18:54:24 +0000 (18:54 +0000)
commitf695957421351e951ec92d8b892e22129e64f6dd
treef8ac2bdb54c78dbf218a237b2c2ca10d4a942922
parent7fe36c1187533854c39e768bb82d47bb9b8a2568
radv: move queue object to a common base object

This is needed to use the new dispatch layer code.  While we're here, we
clean up the context on the error path.

Fixes: 9b1138e3f0e96 "radv: implement VK_EXT_private_data"
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8676>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h