commit | c768e640f429fe19740f5e8d3c7b135dd4dba685 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Jul 26 17:49:54 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 26 17:49:54 2022 +0000 |
tree | c505ab853264a7e9cd56ff081ac7f726949606f1 | |
parent | 1260a530181eaccedf5a71d89fea953fe777f8b6 [diff] |
tint/intrinsics.def: Change language for enums Previously enum members were added to the global namespace, so that overload template parameters could be constrained to a single enum-entry without the need to declare a matcher. While this was a minor convenience feature, it means that you cannot declare an enum with members that share the same name as a type. This will be very common for extensions, like 'f16' where 'f16' is the name of an extension and a type name. Change scoping so that enum members need to be fully qualified. Also change the intrinsic syntax so that enums always need to use a matcher for enums. Change-Id: Ided91130e9df537d38dc8ecb41325c0992dea14b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97146 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> 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.