Skip to content

Deprecate and remove -sUSE_WEBGPU #24265

Closed

Description

@kainino0x

Emscripten's implementation of webgpu.h is unmaintained. Dawn now maintains "emdawnwebgpu", a fork of Emscripten's implementation that is up to date, resolving #23432.

We want people to move to emdawnwebgpu. However, the API has changed substantially, so it will take people time to switch over. Plus, there might be new bugs in that implementation. So we need a decently long deprecation period before removing the old implementation.

Deprecation PR: #24220
Removal TBD.

Activity

  1. self-assigned this
    on May 21, 2025
  2. donthomasitos commented on Jul 10, 2025

    @donthomasitos

    I think this should be done rather sooner than later. The API changes are manageable, and if ppl don't switch we'll never find the bugs in the emdawnwebgpu implementation anyway. Right now it's super confusing.

  3. kainino0x commented on Aug 8, 2025

    @kainino0x
    CollaboratorAuthor

    Planning to do this around August 18 once there has been some time for the bugfixed Emdawnwebgpu to bake.

  4. kainino0x commented on Aug 18, 2025

    @kainino0x
    CollaboratorAuthor

    @sbc100 how do you think this should be done? Was thinking either:

    1. remove support for the option, but leave a special error message saying to use --use-port=emdawnwebgpu
    2. remove old code, but keep -sUSE_WEBGPU and translate it to --use-port=emdawnwebgpu
  5. donthomasitos commented on Sep 24, 2025

    @donthomasitos

    I vote for option 1 🫡

  6. kainino0x commented on Sep 24, 2025

    @kainino0x
    CollaboratorAuthor

    Thanks for the bump, I'm going to get this done now.

  7. added a commit that references this issue on Oct 18, 2025
    29bf936
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions