Revert "D3D11: Change GetScopedPendingCommandContext() to return ResultOrError" This reverts commit cf904626134ad498f6563bf2b5cf67b49e7f4eee. Reason for revert: The previous commit caused Buffer::DestroyImpl to delete buffers while they were still mapped. This state causes stability issues or crashes on Intel drivers. Original change's description: > D3D11: Change GetScopedPendingCommandContext() to return ResultOrError > > This is to allow operations done inside GetScopedPendingCommandContext() > to return error. For example we could change PerformDeferredUnmaps() > to return MaybeError in future CL. > > Bug: chromium:422741977 > Change-Id: Ia19a7fdd0c833431f0a808c13b2beedc86e93fa5 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/286596 > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Commit-Queue: Quyen Le <lehoangquyen@chromium.org> # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:422741977 Change-Id: I19cf4894ec120284ab9f247cd612297ba6a694e7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/288215 Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: 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.