Skip to content

[deno] Requested limits are not clamped at the WebGPU defaults #8084

@andyleiserson

Description

@andyleiserson

WebGPU specifies a default value for each of the limits it defines. Requesting a limit value smaller than the default is not supported and should be substituted with the default. https://www.w3.org/TR/webgpu/#supported-limits

This is done in Firefox C++ code. It is not currently done by Deno, resulting in failure of the webgpu:api,validation,capability_checks,limits,maxBindGroups:setBindGroup,at_over:limitTest="underDefault";* CTS tests (and presumably also the equivalent tests for other limits).

Metadata

Metadata

Assignees

Labels

area: denoDeno bindings to wgpuarea: validationIssues related to validation, diagnostics, and error handlingtype: bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions