commit | 418e873ad28c0fed6722ee617ba56018c24d6926 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Thu Jun 16 08:30:17 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 16 08:30:17 2022 +0000 |
tree | be35856af08848163cdfe2b2b97053ba4195daff | |
parent | 33563dc7d7b3cbec159e004f96b59fd479084635 [diff] |
tint: Make sure enable directives go first in ordered_globals This patch change DependencyAnalysis::SortGlobals() to make sure that 'enable' directive nodes go before any other global declarations in the sorted global node list, and thus ensure that all extensions will be registered by reslover before dealing with any other global declarations. This is necessary because some transforms will add AST nodes before any other global nodes, and these added nodes should be handled by resolver after 'enable' nodes are handled. Bug: tint:1472 Change-Id: Idc2253fc055b0f121cb0cafcaca5275c23ed7b0d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93760 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Reviewed-by: Ben Clayton <bclayton@chromium.org> Kokoro: Kokoro <noreply+kokoro@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.