native: Handle BlobCache mLoadFunction size mismatch as cache miss BlobCache currently calls mLoadFunction twice for a load request, expecting identical sizes. This isn't guaranteed due to potential external cache evictions or IO/timeout issues between calls. Instead of crashing, this CL treats a size mismatch as a cache miss. Future work should update mLoadFunction to return a memory buffer directly, eliminating the two-call requirement. Bug: chromium:469351711 Change-Id: If25c0e6a94ab0e00595a8deb5062f46ddfbea975 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/281875 Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Auto-Submit: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com>
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.