Revert "Return early in WaitForQueueSerial if the serial already passes." This reverts commit bedd29aeeba8de737f14fdc6a1e17e846372ee5a. Reason for revert: Suspected to cause test failure in https://ci.chromium.org/ui/p/dawn/builders/ci/dawn-win-x64-intel-uhd630-asan/505/overview Original change's description: > Return early in WaitForQueueSerial if the serial already passes. > > We already do it in the WaitIsThreadSafe path, now do the same for > the non-threadsafe path. > > Early return can avoid acquiring the device lock. > > Bug: chromium:422741977 > Change-Id: Icd045400510b52ccf7884deed74f16f8c015b84d > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/286516 > Commit-Queue: Quyen Le <lehoangquyen@chromium.org> > Reviewed-by: Loko Kung <lokokung@google.com> # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:422741977 Change-Id: Idf7971967bc04631078b1c12f8a97bc5381b9f0b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/287475 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Auto-Submit: Quyen Le <lehoangquyen@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.