Skip to content

Commit 9b81d7a

Browse files
authored
Clarify WebGPU browser compat in WebGPUDemo/README.md
1 parent 5fffd93 commit 9b81d7a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

WebGPUDemo/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ the Swift SDK in the following command to the version that matches your installe
99
swift package --swift-sdk swift-DEVELOPMENT-SNAPSHOT-2025-06-03-a_wasm js --use-cdn
1010
```
1111

12+
WebGPU requires a beta or technical preview version of Safari. For recent release versions make sure to enable
13+
WebGPU feature flag as shown on the screenshot:
14+
15+
<img width="833" alt="Screenshot 2025-06-19 at 10 22 57" src="https://github.com/user-attachments/assets/7d0453ab-da51-4a6e-85da-dc466cf775be" />
16+
17+
See [the WebGPU Implementation Status page](https://github.com/gpuweb/gpuweb/wiki/Implementation-Status) for information about compatibility with other browsers.
18+
1219
Start a HTTP server with eg. `python -m http.server` or `npx serve`, then open
1320
http://localhost:8000 to view the Swift logo rendered using WebGPU.
1421

0 commit comments

Comments
 (0)