commit | ee799480c2fd9c497c2312e0ee1534c88cbf0408 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Thu Feb 08 19:53:46 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 08 19:53:46 2024 +0000 |
tree | 9c513aac38263b0a227406fb5d523099a9f53f11 | |
parent | 26a720b0682b83755591bdef2010693462da10a6 [diff] |
d3d: Fix missing synchronization for queue writeTexture Queue writeTexture needs to wait for and signal fences separately since it doesn't happen within a command buffer submission. To ensure that the fence is signaled correctly here and elsewhere, a new method is added to ensure commands are flushed up to a specified serial. This allows all backends to share the fix for writeTexture and any other places where we might've missed synchronization outside of command buffer submission. This CL also includes a SharedTextureMemoryTest for writeTexture. Bug: dawn:2351 Change-Id: Ibc896370a379d88abd7a63a855c843dafc330d88 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/170565 Reviewed-by: Austin Eng <enga@chromium.org> Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@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.