Skip to content

Instantly share code, notes, and snippets.

View munrocket's full-sized avatar

munrocket

View GitHub Profile
@munrocket
munrocket / webgpu_metal_capture.txt
Last active June 17, 2025 05:35 — forked from slimbuck/webgpu_metal_capture.txt
Capturing WebGPU metal trace on MacOS
1) Clone and build WebKit
gh repo clone WebKit/WebKit
cd WebKit
Tools/Scripts/build-webkit -cmakeargs="-DENABLE_WEBGPU_BY_DEFAULT=1" --debug
2) Run your app
__XPC_METAL_CAPTURE_ENABLED=1 Tools/Scripts/run-minibrowser --debug --url http://localhost:3000/