-
Notifications
You must be signed in to change notification settings - Fork 344
Open
Labels
apiWebGPU APIWebGPU APIbugneeds-cts-issueThis change requires tests (or would need tests if accepted), but may not have a CTS issue filed yetThis change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet
Milestone
Description
If I create a bind group layout with buffer bindings A, B, and C. If a shader only uses buffer A, then it would be nice if I could bind a GPUBufferBinding with size 0 for slots B and C, however, the steps for creating buffer bindings don't allow for zero-sized buffers:
The bound part designated by bufferBinding.offset and bufferBinding.size resides inside the buffer and has non-zero size.
This strikes me as an unusual requirement; as long as the matching pipeline's minBindingSize is 0, I would expect it to be allowed.
See also #2134.
Metadata
Metadata
Assignees
Labels
apiWebGPU APIWebGPU APIbugneeds-cts-issueThis change requires tests (or would need tests if accepted), but may not have a CTS issue filed yetThis change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet