commit | cdcc85973bb0c9871100940d44b8e31680c21e2c | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Aug 23 14:30:24 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 23 14:30:24 2022 +0000 |
tree | d5d19f7af1d18c3a94bd1f6600797c8eac9e93ea | |
parent | bace05e499beaf0fa229c1f84950d79b8efbae72 [diff] |
tint: Clean up AddSpirvBlockAttribute * Walk the sem type list, instead of all AST nodes to just find the types. * Walk the AST global list, instead of all declarations, then filtering to globals. * Use the ast::IsHostSharable() helper where possible. * Only lookup the sem node once instead of twice, per global. * Use the new utils::Hashmap and utils::Hashset containers instead of std::unordered_map and std::unordered_set. Change-Id: Idb47c855ae9dfd27515774a89cedb7ed06e07035 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100140 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.