Back to Flutter

Setting Up MoltenVK On MacOS For Impeller

docs/engine/impeller/Setting-up-MoltenVK-on-macOS-for-Impeller.md

3.41.9555 B
Original Source
  • 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*".