commit | 211321034ea72f0f2ef79a5ec578e864144e58f4 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Mon Feb 26 18:59:27 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 26 18:59:27 2024 +0000 |
tree | 4a78dd97862e5a9081bfcb077c9794f0bb650897 | |
parent | 0f90992948dbbcdc3deb78424d1e7c8ebb6a5777 [diff] |
Remove global device lock from CreateShaderModule/Pipeline This allows multithreaded creation of these objects without acquiring the global device lock. Note that creating objects while the device is being destroyed is still not thread-safe. Tested on Linux TSAN to be data-race free. Bug: dawn:1662 Change-Id: Ia715fbccad2392f6643919426ef7e4fc5c24166a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/175206 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Austin Eng <enga@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.