Skip to content

Update Emdawnwebgpu port to v20250531.224602 #24466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

kainino0x
Copy link
Collaborator

@kainino0x kainino0x commented Jun 2, 2025

Release page: https://github.com/google/dawn/releases/tag/v20250531.224602

Emdawnwebgpu releases now generate these "remoteport" files, which can be copied directly into Emscripten. The README is just included in the file for people who download it from Dawn's releases page because it's a single file download - I don't expect --use-port=emdawnwebgpu users to read it.

I thought about including a link to the README (https://dawn.googlesource.com/dawn/+/ea66c0fa309f01f2ba1ec2fd2c680cc992eaf72a/src/emdawnwebgpu/pkg/README.md) in the DESCRIPTION but I don't think the description is user-visible? (It doesn't show up in --show-ports.) It would be nice to make sure the readme is findable by users.

This is tested by test_remote_ports and test_emdawnwebgpu_link_test.

@kainino0x kainino0x requested a review from sbc100 June 2, 2025 19:51
@kainino0x kainino0x enabled auto-merge (squash) June 2, 2025 20:04
@kainino0x kainino0x disabled auto-merge June 2, 2025 20:04
@kainino0x kainino0x enabled auto-merge (squash) June 2, 2025 20:04
@kainino0x kainino0x merged commit d704c56 into emscripten-core:main Jun 2, 2025
30 checks passed
@kainino0x kainino0x deleted the emdawnwebgpu-roll branch June 2, 2025 22:43
@ypujante
Copy link
Contributor

ypujante commented Jun 3, 2025

As an FYI, yes description is user visible, when using the help option:

# on my older branch...
> emcc --use-port=emdawnwebgpu:help 
emdawnwebgpu (--use-port=emdawnwebgpu; mixed licenses, see license files)
Emdawnwebgpu is a fork of Emscripten's original USE_WEBGPU, implementing a newer, more stable version of the standardized webgpu.h interface. If you find issues, verify in the latest nightly release (https://github.com/google/dawn/releases) and file feedback with Dawn. (Emdawnwebgpu is maintained as part of Dawn, the open-source WebGPU implementation used by Chromium, but it is still cross-browser.)
Options:
* cpp_bindings: Add the include path for <webgpu/webgpu_cpp.h> C++ bindings. Default: true.
* opt_level: Optimization (-O) level for the bindings' Wasm layer. Default: choose based on -sASSERTIONS.
More info: https://dawn.googlesource.com/dawn/+/refs/heads/main/src/emdawnwebgpu/

@kainino0x
Copy link
Collaborator Author

Ahh of course, that's where it would be, thank you. I will update it at some point then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants