Skip to content

Reusable adapters? #535

@kainino0x

Description

@kainino0x

In the WebGPU spec, adapters are not reusable. Creating a device consumes the adapter. This was done to make sure that people check adapters again if they need to reinitialize.

In https://dawn-review.googlesource.com/c/dawn/+/237274/comment/a9335ef5_172b283b/ it was suggested that this shouldn't be true in webgpu.h (unless the backend is Wasm), or it should be configurable (and we validate it on Wasm).

cc @Kangz

Metadata

Metadata

Assignees

Labels

has resolutionIssue is resolved, just needs to be done

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions