commit | 3ee36f03fbf93accf7fbb6bb7b541a78ee6810b9 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@microsoft.com> | Wed Feb 19 01:15:46 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 19 01:15:46 2025 -0800 |
tree | 585e5a131ce14d49a90621e0ae876a4caa34c693 | |
parent | dd51fa6232240ae03cf46b102148165328e7a5e3 [diff] |
Dawn: ShaderModule lazily recreate the tintProgram in GetTintProgram This CL make ShaderModule recreates the released tintProgram in GetTintProgram instead of UseTintProgram, now UseTintProgram just adds the ref count, and the actual recreation work can be done within async tasks that call GetTintProgram. Bug: 396023091 Change-Id: I32c8a6d3d1565f0609791da3c7d9586a503a25ab Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/226074 Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@microsoft.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.