Clone Dawn somewhere and follow Dawn CMake Quickstart
cd dawn
cmake -S . -B out/Release -DDAWN_FETCH_DEPENDENCIES=ON -DDAWN_ENABLE_INSTALL=ON -DCMAKE_BUILD_TYPE=Release
cmake --build out/Release
cmake --install out/Release --prefix install/ReleaseSet Dawn_DIR to the {project root}/dawn/install/Release/lib/cmake/Dawn
Comment out
#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1this part in the vulkan-backend.h from NVRHI repo
In Xcode,
- Go to Edit Scheme -> Run -> Options
- Set GPU Frame Capture to
Metal - (Maybe unnecessary) Go to Build Setting and set Metal Capture Enabled to
YES