VK_LAYER_EXPORT is going away in the next Vulkan header update. We already have a PUBLIC macro in util/macros.h which does the same thing. Unlike VK_LAYER_EXPORT, it should work in Windows too. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21225>
A Vulkan layer to disable all rendering/compute commands. To turn on the layer run : VK_INSTANCE_LAYERS=VK_LAYER_INTEL_nullhw /path/to/my_vulkan_app