Skip to content

Can we use Dawn's WebGPU in older versions? #24551

Open
@MarcosCobena

Description

@MarcosCobena

Hello,

We (@EvergineTeam) are working on the support for WebGPU-Wasm. We already have support for desktop through https://github.com/EvergineTeam/WebGPU.NET.

We consume Emscripten through .NET 8, which is coupled with Emscripten 3.34. We would like to provide native libraries for webgpu.h from that specific version, to simultaneously provide support for desktop and browser. We have seen the recent deprecation of "-s USE_WEBGPU" in favor of Dawn's port, but it requires a much more recent version of Emscripten I think we cannot enjoy for now (maybe with .NET 10 or higher). Having this in mind:

  1. Is there any chance of using Dawn's implementation instead of Emscripten's in previous versions of this last?

  2. If the answer is no, does it make sense to build our own native libraries (for now we are happy with only Windows-x64) aligned with Emscripten 3.34's webgpu.h? Until now, we grabbed those from https://github.com/gfx-rs/wgpu-native but, obviously, headers do not match :-)

Thank you in advance :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions