Implement minBufferBindingSize
Note this doesn't implement the validation that minBufferBindingSize must be undefined for incompatible binding types (since that hasn't been done for any of the other fields yet either). Also slightly reorder things to match the upstream spec (which groups optional fields by what binding type they're used for). Minimally tested locally against upstream webgpu:api,validation,createBindGroupLayout:bindingTypeSpecific_optional_members:* but we need to fix a lot more things in those tests including a crash and the binding type rules mentioned above. Bug: 1069302 Change-Id: I64b4ac41297539c066b7f22ff9b6766462138c07 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2324723Reviewed-by:Corentin Wallez <cwallez@chromium.org> Reviewed-by:
Austin Eng <enga@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Cr-Commit-Position: refs/heads/master@{#792475}
Showing
Please register or sign in to comment