Revert "D3D12: Upload data from `mStagingBuffer` with `CopyResource()`" This reverts commit b355a39819d6ba788308926b58e3b23a365029d1. Reason for revert: Causing crash in 378567679 Original change's description: > D3D12: Upload data from `mStagingBuffer` with `CopyResource()` > > This patch uses `CopyResource()` in the code that uploads data from > staging buffer to the destination buffer when handling > `mappedAtCreation`. > > Bug: chromium:42242066 > Test: dawn_end2end_tests > Change-Id: I60b845507792c682ab2cf33da9ed368f52700143 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/213001 > Reviewed-by: Loko Kung <lokokung@google.com> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 378567679 Change-Id: Ia6a086e4f3b954d9060519086b729e0254aeb273 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/214774 Auto-Submit: Loko Kung <lokokung@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.