Revert "D3D12: Use Persistent map and clear buffer before destroy on Intel GPUs" This reverts commit b18147774e331c5ec1b34fb3d7b87c95371e377f. Reason for revert: Flakily killing Swarming bots crbug.com/589817005 Original change's description: > D3D12: Use Persistent map and clear buffer before destroy on Intel GPUs > > This patch uses persistent mapping (don't call `ID3D12Resource->Unmap` > when Dawn API `GPUBuffer->Unmap` is called), allocates all the mappable > buffers as committed resources, and clear the first 16 bytes when > releasing the `ID3D12Resource` on Intel GPUs as a workaround of a > driver issue. > > Bug: 583539379 > Change-Id: Ie5d953789a7aa0f8a103840e9dd87ecdd551fac1 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/358715 > Reviewed-by: Antonio Maiorano <amaiorano@google.com> > Commit-Queue: Shao, Jiawei <jiawei.shao@intel.com> # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 583539379 Change-Id: I068d3f73a14058954d94d30a8ba7868702e1dc0e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/363115 Commit-Queue: Shao, Jiawei <jiawei.shao@intel.com> Reviewed-by: Brian Sheedy <bsheedy@google.com> Reviewed-by: Shao, Jiawei <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.