commit | b825812a123addd534fa3921ecf938e7d18e514f | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Mon Feb 26 20:36:05 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 26 20:36:05 2024 +0000 |
tree | bdf681040600c10efe22b16e3aa2baec98d3a7fd | |
parent | 710b62fdf1227d0da9c890b4d43f3f1c447f7fc9 [diff] |
d3d12: Reintroduce DXGI keyed mutex support Reintroduce DXGI keyed mutex support to the D3D12 backend, except that the keyed mutex is now acquired in a tight scope around command buffer execution similar to the D3D11 backend. A KeyedMutex wrapper is introduced since we need a custom deleter to dispose the keyed mutex with D3D11on12 and ComPtr doesn't support that. The wrapper doesn't have a scoped Guard helper because abseil containers don't yet support transparent comparator/hash functions and we don't have too many places where we acquire and release the keyed mutex. The SharedTextureMemory concurrent read test is now enabled on both D3D11 and D3D12 when using keyed mutex. Bug: dawn:2311 Change-Id: I78272990ef4d7ebd5ade45ab98542423e020e0cc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/171741 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Kokoro: Kokoro <noreply+kokoro@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.