commit | fbc4ce74344b20d6bedfbb66bdb9074502121b61 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Mon Oct 21 19:25:39 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 21 19:25:39 2024 +0000 |
tree | b766da658c8ca5f134cf47b673d5fe7c2f0e19b1 | |
parent | b37348f737dd7db5e2baaf7c6432a0632e56814b [diff] |
[ir] Speed up `CheckType` validation. We don't need to validate types over and over again if we are validating with the same capabilities. This Cl adds a cache of the previously checked types and only does the full check if we have no already checked the given type. Bug: 372301201 Change-Id: I613d6f05d9faabe4790e417bef6e68ffb27ecd2c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/211694 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
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.