Skip to content

webgpu: Support "core" stuff and other GPURequestAdapterOptions - #45424

Merged
TimvdLippe merged 4 commits into
servo:mainfrom
sagudev:core-and-stuff
Jun 5, 2026
Merged

webgpu: Support "core" stuff and other GPURequestAdapterOptions#45424
TimvdLippe merged 4 commits into
servo:mainfrom
sagudev:core-and-stuff

Conversation

@sagudev

@sagudev sagudev commented Jun 5, 2026

Copy link
Copy Markdown
Member

Per spec it is valid to always return core device even if worse (read "compatibility") was requested: https://www.w3.org/TR/webgpu/#feature-level-string
similarly also goes for xrCompatible field: https://www.w3.org/TR/webgpu/#dom-gpurequestadapteroptions-xrcompatible

Firefox does the same.

Testing: Covered by WebGPU CTS tests

sagudev added 4 commits June 4, 2026 17:30
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 5, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jun 5, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Jun 5, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jun 5, 2026
Merged via the queue into servo:main with commit ec1b60c Jun 5, 2026
33 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jun 5, 2026
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