nouveau/nil: Take an nv_device_info for image functions
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:12:05 +0000 (20:12 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:03 +0000 (21:32 +0000)
commitf23b892a9dca2995f9fcfb8cfc0a79697134665b
treec5242457c44a1e477f7ffa4de6cae44813eb86e9
parent433e74268218b22da27adb8f396f8654989e22c2
nouveau/nil: Take an nv_device_info for image functions

There's no reason why any of this needs access to the fd or the context.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/nil/nil_image.c
src/nouveau/nil/nil_image.h
src/nouveau/nil/nil_image_tic.c
src/nouveau/vulkan/nvk_buffer_view.c
src/nouveau/vulkan/nvk_image.c
src/nouveau/vulkan/nvk_image_view.c