Skip to content

fix(⬆️): upgrade to Dawn 157.0.0 - #577

Merged
wcandillon merged 3 commits into
mainfrom
dawn-157
Oct 18, 2026
Merged

wcandillon merged 3 commits into
mainfrom
dawn-157

Conversation

@wcandillon

@wcandillon wcandillon commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Moves Dawn to the build react-native-skia publishes for Skia chrome/m157: react-native-webgpu-dawn 157.0.0 (Dawn ada567700e, 2026-10-10, 441 commits after the 154.3.0 one). Companion of wcandillon/react-native-skia#4268.

  • packages/webgpu/package.json pins react-native-webgpu-dawn 157.0.0; the dawn label becomes chrome-m157 (react-native-skia 3.0.x compares it, and 3.0.x cannot pair with this Dawn).
  • scripts/check-dawn.ts: the two entries move to the new commit. The device-destroy-before-surface-release workaround stays (no upstream fix in this Dawn: nothing touched the Vulkan swapchain teardown on the way), and the vendored ExternalTextureParams.h is byte-identical to the file at the new commit.
  • GPUFeatures.h: maps the one wgpu::FeatureName this Dawn adds, SharedBufferMemoryHostPointer (shared-buffer-memory-host-pointer).
  • Docs: new compatibility row (0.17.0 and later with react-native-skia 3.7.0 and later).

No other source change: Dawn's C and C++ headers only gained identifiers since 154.3.0, and the example app builds for the iOS simulator (74 files of the pod recompiled, zero errors) and for Android arm64 (libwebgpu_dawn.so from the package) against 157.0.0.

Merge order

The example installs react-native-skia 3.0.8, whose podspec refuses this pairing, so its native build was red until a react-native-skia release depended on 157.0.0. Order: react-native-skia#4268 merged (it resolves its own example's Dawn to 157.0.0 and shipped 3.7.0), then bump apps/example here to react-native-skia 3.7.0 and merge this as 0.17.0 (main carries a feat since 0.16.1), then react-native-skia bumps its example to 0.17.0 and drops its resolution. The compatibility rows in both repos assume those two version numbers.

Depend on react-native-webgpu-dawn 157.0.0, the Dawn react-native-skia
builds for Skia chrome/m157 (Dawn ada567700e). The dawn label becomes
chrome-m157, the check-dawn.ts pins move to the new commit (the
device-destroy workaround has no upstream fix yet, the vendored
ExternalTextureParams.h is unchanged), and the one new FeatureName,
SharedBufferMemoryHostPointer, is mapped.
…ty table

The Skia release that depends on react-native-webgpu-dawn 157.0.0 shipped
as 3.7.0, and this branch releases as 0.17.0.
3.7.0 depends on react-native-webgpu-dawn 157.0.0, the version this
branch pins, so the example resolves a single Dawn again.
@wcandillon
wcandillon merged commit dbb1718 into main Oct 18, 2026
2 of 5 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.17.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant