Skip to content

Test webgpu:api,operation,adapter,requestAdapter:requestAdapter fails with non expected fallback adapter #4480

@tharkum

Description

@tharkum

After the testing for GPUAdapterInfo.isFallbackAdapter was added in PR #4303 there are possible unexpected FAILED results in case if platform supports only fallback (software) adapter even if forceFallbackAdapter=false

webgpu:api,operation,adapter,requestAdapter:requestAdapter
t.expect(adapter.info.isFallbackAdapter === Boolean(forceFallbackAdapter));

https://gpuweb.github.io/gpuweb/#dom-gpurequestadapteroptions-forcefallbackadapter

Note: requestAdapter() may still return a fallback adapter if forceFallbackAdapter is set to false and either no other appropriate adapter is available or the user agent chooses to return a fallback adapter. Developers that wish to prevent their applications from running on fallback adapters should check the info.isFallbackAdapter attribute prior to requesting a GPUDevice.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions