native: Re-enable validation after device loss or OOM After device loss or OOM errors, validation is re-enabled even if the SkipValidation toggle is active, to avoid unpredictable behaviors afterwards. This is implemented via a new atomic mIsValidationEnabled on DeviceBase, initialized from the SkipValidation toggle and reset to true in HandleError on DeviceLost or OutOfMemory. Bug: 431097627 Change-Id: I47479f3897a5b62a477aa96fd20f4c65f0460bc4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/303475 Reviewed-by: Brandon Jones <bajones@chromium.org> Auto-Submit: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: 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.