[M159] Only encoder validation errors can be deferred Original change's description: > Only encoder validation errors can be deferred > > Update EncodingContext::HandleError to only allow validation errors > to be deferred. Other errors from the backend, such as OOM, should > be forwarded to the device right away so they can trigger a device > loss. > > Fixed: 586987942 > Change-Id: I062a85d28d5d3e6db6c2d7ffd90d857896b414dd > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/361335 > Reviewed-by: Kai Ninomiya <kainino@chromium.org> > Commit-Queue: Brandon Jones <bajones@chromium.org> (cherry picked from commit 8cdf25651c3df52312f8104e85063af8b91465a8) Bug: 588740477,586987942 Change-Id: I062a85d28d5d3e6db6c2d7ffd90d857896b414dd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/367199 Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.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.