diff --git a/WebGPUDemo/README.md b/WebGPUDemo/README.md index 88b62b2..259ffe8 100644 --- a/WebGPUDemo/README.md +++ b/WebGPUDemo/README.md @@ -9,6 +9,13 @@ the Swift SDK in the following command to the version that matches your installe swift package --swift-sdk swift-DEVELOPMENT-SNAPSHOT-2025-06-03-a_wasm js --use-cdn ``` +WebGPU requires a beta or technical preview version of Safari. For recent release versions make sure to enable +WebGPU feature flag as shown on the screenshot: + +Safari Feature Flags settings tab with WebGPU enabled + +See [the WebGPU Implementation Status page](https://github.com/gpuweb/gpuweb/wiki/Implementation-Status) for information about compatibility with other browsers. + Start a HTTP server with eg. `python -m http.server` or `npx serve`, then open http://localhost:8000 to view the Swift logo rendered using WebGPU.