nvk: add vulkan skeleton
authorKarol Herbst <kherbst@redhat.com>
Mon, 16 May 2022 20:39:44 +0000 (22:39 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:52 +0000 (21:31 +0000)
commit83786bf1c9c17250bc1a0533f03608d113eea50b
treeaf73307cb5d57f5336cb900945fc92b11bf6a65e
parentcfbd1fd41300740154f89b4382e4790e61c1bf0b
nvk: add vulkan skeleton

This is enough to run vulkaninfo without crashing.

Jason:
* Drop a redundant nvk_device_entrypoints
* Add some VKAPI_ATTR and VKAPI_CALL
* nvk: Move EnumerateInstanceExtensionProperties to the top
  This way things are more-or-less in initialization order.  First the
  version then extensions then create the instance.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
13 files changed:
meson.build
meson_options.txt
src/meson.build
src/nouveau/compiler/meson.build [new file with mode: 0644]
src/nouveau/meson.build
src/nouveau/vulkan/meson.build [new file with mode: 0644]
src/nouveau/vulkan/nvk_device.c [new file with mode: 0644]
src/nouveau/vulkan/nvk_device.h [new file with mode: 0644]
src/nouveau/vulkan/nvk_instance.c [new file with mode: 0644]
src/nouveau/vulkan/nvk_instance.h [new file with mode: 0644]
src/nouveau/vulkan/nvk_physical_device.c [new file with mode: 0644]
src/nouveau/vulkan/nvk_physical_device.h [new file with mode: 0644]
src/nouveau/vulkan/nvk_private.h [new file with mode: 0644]