From ec4eef188efd7e71be4cdb90ab4db894c4b026d7 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Thu, 19 Jun 2025 12:16:53 +0100 Subject: [PATCH] Clean up wording in `WebGPU/README.md` --- WebGPUDemo/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebGPUDemo/README.md b/WebGPUDemo/README.md index cae87ea..5f6f805 100644 --- a/WebGPUDemo/README.md +++ b/WebGPUDemo/README.md @@ -9,7 +9,7 @@ the Swift SDK in the following command to the version that matches your installe swift package --swift-sdk swift-6.2-DEVELOPMENT-SNAPSHOT-2025-06-17-a_wasm js --use-cdn ``` -WebGPU requires a beta or technical preview version of Safari. For recent release versions make sure to enable +WebGPU is enabled by default in beta and technical preview versions of Safari. Safari 17 and 18 require enabling WebGPU feature flag as shown on the screenshot: Safari Feature Flags settings tab with WebGPU enabled @@ -20,5 +20,5 @@ Start a HTTP server with eg. `python3 -m http.server` or `npx serve`, then open http://localhost:8000 for `python3` or http://localhost:3000 for `npx serve` to view the Swift logo rendered using WebGPU. > [!NOTE] -> If using an editor with SourceKit-LSP, make sure to update `.sourcekit-lsp/config.json` with the +> When using an editor with SourceKit-LSP, update `.sourcekit-lsp/config.json` with the > Swift SDK used in your build command.