| commit | 8670795e321dfa023fbc661c0e302aa644c22070 | [log] [tgz] |
|---|---|---|
| author | Kyle Charbonneau <kylechar@google.com> | Fri Jan 23 07:41:20 2026 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 23 07:41:20 2026 -0800 |
| tree | 4a30728d3cdcc37a20006cc511bd560da65f733e | |
| parent | b841244ed5276f38adb8d6526dcc1c8af43a3daa [diff] |
Change D3D12 buffer fence synchronization D3D12 Buffer::SynchronizeBufferBeforeUseOnGPU() was calling MarkUsedInPendingCommands() to increment the last usage serial. This isn't necessary as the command that uses the buffer on the GPU already increments last usage serial. Additionally don't call SynchronizeBufferBeforeUseOnGPU() from CopyFromStagingToBuffer(). The buffer is added to mSharedBuffers which calls SynchronizeBufferBeforeUseOnGPU() on the buffer before commands are submitted. The motivation here is MarkUsedInPendingCommands() called from SynchronizeBufferBeforeUseOnGPU() triggers an assertion in added in https://dawn-review.googlesource.com/c/dawn/+/278575. This is a problem when SubmitPendingCommandsImpl() is run from Tick(). Removing the unnecessary call seems like the easiest way to fix that. Bug: 425472913 Change-Id: I249c718228c5c8ca8785b50657568234e3ea086f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/286355 Commit-Queue: Kyle Charbonneau <kylechar@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Antonio Maiorano <amaiorano@google.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.