Skip to content

Support BindGroups with fewer elements in Binding Array than in BindGroupLayoutEntry #1635

@igaryhe

Description

@igaryhe

Is your feature request related to a problem? Please describe.
Current wgpu could support unsized binding array via Features::UNSIZED_BINDING_ARRAY. However, users still have to manually set the array size of the binding in BindGroupLayoutEntry. Is it possible for wgpu to fully support unsized binding array?

Describe the solution you'd like
Maybe we could provide an API to let users specify a maximum array size

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

area: validationIssues related to validation, diagnostics, and error handlingtype: enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions