Skip to content

WebGPU native (C header/API) backend for wgpu-rs #1608

Closed as not planned
Closed as not planned
@kvark

Description

@kvark

Is your feature request related to a problem? Please describe.
wgpu-rs currently has 2 backends: direct (for wgpu-core) and web (for WebGPU on wasm32 target).
We need to add a 3rd backend: native, for implementing https://github.com/webgpu-native/webgpu-headers

Describe the solution you'd like
Adding this backend should be straightforward. We would dynamically link with an implementation, be it wgpu-native or Dawn library.

Describe alternatives you've considered
Using the C API as the main target, and then adding a backend for wgpu-core. We irreversibly changed this direction a while ago.

Additional context
servo/pathfinder#306 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ecosystemHelp the connected projects grow and prosperhelp requiredWe need community help to make this happen.type: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions