commit | f34505cecc0dc737df8bc2fe16ff86e5b186cf32 | [log] [tgz] |
---|---|---|
author | Kyle Charbonneau <kylechar@google.com> | Tue Apr 29 07:26:38 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 29 07:26:38 2025 -0700 |
tree | 4c31da4cc6382dc7e46f897dc54a4c0543ef0af4 | |
parent | 01ee8252c937599e594006926dc4ed2453902dfe [diff] |
Remove ConcurrentTransformedShaderModuleCache ConcurrentTransformedShaderModuleCache held both compiled SPIR-V and VkShaderModule. There is already caching of SPIR-V in BlobCache. The transformation from SPIR-V to VkShaderModule is inexpensive. This extra layer of caching isn't really necessary so remove it. Render/compute pipeline now call vkDestroyShaderModule() after compilation is complete. This also removes the need for FencedDeleter to handle that. Bug: 411152029 Change-Id: Ia75f313849a5bade092f2a99d608cceb76a1b3c4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/239415 Reviewed-by: Corentin Wallez <cwallez@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.