nouveau/nil: Use nv_device_info for format queries
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)
commit6fd6baa989a2cee21e57261086806b5751beca59
tree7e66a52d493cdb09c6cb4318f94d70862b793c22
parentf23b892a9dca2995f9fcfb8cfc0a79697134665b
nouveau/nil: Use nv_device_info for format queries

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_format.c
src/nouveau/nil/nil_format.h
src/nouveau/vulkan/nvk_buffer_view.c
src/nouveau/vulkan/nvk_cmd_clear.c
src/nouveau/vulkan/nvk_image.c