commit | 764a2abc90312cdb3f982591072c440017a9ada6 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Sep 27 19:20:06 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 27 19:20:06 2022 +0000 |
tree | 4ec1f989814b4ae473d204010ab8ee1e82ba38e2 | |
parent | b634dca6d636142e72ab48b28a87170b0afdca32 [diff] |
Have DeepestElementOf always return a type. Currently deepest element only returns the type if it was a scalar or the element of a vector, array or matrix. Otherwise it would return `nullptr`. There are cases where we want to get the deepest type which is a struct or some other type. This Cl updates ElementOf to return the type instead of nullptr for types which previously returned nullptr. Change-Id: I7963d4ce55d2e2b1a537a7533fa332813eed035c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103900 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Dan Sinclair <dsinclair@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.