[YUV AHB] Add a BGL getter for the expected BGDesc entry count. The computation was done in BindGroup when it's more of a BGL responsibility, but also the computation used the number of static samplers in the BGL to decrement, which is incorrect when in the future the ExternalTextures expand with a static sampler (it's the "validation count" of static samplers passed during BGL creation that's the correct amount to remove). Bug: 468988322 Change-Id: Id7ae4ae4011b3d2a9e00eb9bdd278acf1848069a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/298556 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.