flutter/docs/engine/impeller/Setting-up-MoltenVK-on-macOS-for-Impeller.md
Kate Lovett 722c8d62fd
[wiki migration] Engine team pages (#148696)
This sorts the wiki pages owned by the Engine team in the docs/ directory as planned in [flutter.dev/go/migrate-flutter-wiki-spreadsheet](https://docs.google.com/spreadsheets/d/1x65189ZBdNiLRygpUYoU08pwvXD4M-Z157c6pm8deGI/edit?usp=sharing) 

It also adds the engine and team-engine labels to the bot for future PRs.

Changes to the content were only updating cross links. The remaining wiki links will be updated after the rest of the pages are relocated, the original wiki links still work in the meantime.

Part of https://github.com/flutter/flutter/issues/145009
2024-05-20 23:40:42 +00:00

556 B

  • Get the MoltenVK SDK from https://vulkan.lunarg.com/sdk/home#mac.

  • Make sure to check off System Global Installation: image

  • 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*".