Get the MoltenVK SDK from https://vulkan.lunarg.com/sdk/home#mac.
Make sure to check off System Global Installation
:
When running flutter/tools/gn
, add the --impeller-enable-vulkan
flag, e.g. ./flutter/tools/gn --impeller-enable-vulkan --unopt --mac-cpu arm64
You should now be able to build and run the Vulkan host tests, e.g. out/host_debug_unopt_arm64/impeller_unittests --gtest_filter="*Vulkan*"
.