[dawn] remove device lock from SetLabel This change adds "no autolock": true to the "set label" methods in dawn.json for objects that inherit from ApiObjectBase. This only removes the lock for front-end label updates. Backend label settings are still protected by the device lock for now. It also adds multithreaded tests to verify that setting labels concurrently from multiple threads is safe and doesn't interfere with validation. Bug: 479457809 Change-Id: Icd8d6ad054500c6a2f0c0be8ba04f205e0b95740 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/297435 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kyle Charbonneau <kylechar@google.com> Auto-Submit: Quyen Le <lehoangquyen@chromium.org> Commit-Queue: Kyle Charbonneau <kylechar@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.