commit | 47fddc2918a774bdc777752dff45e97188c1f0ae | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri May 17 19:29:38 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 17 19:29:38 2024 +0000 |
tree | a8721f3c0e2a243d30aed009bf6c1ae9c87e3967 | |
parent | 61d4d888818dfcc979e56e59597db9ca7238ae82 [diff] |
[msl] Emit struct name before constructors This fixes cases where a struct constructor is used as a temporary followed immediately by an access instruction. See struct/type_initializer.wgsl as an example test that now passes. Bug: 42251016 Change-Id: Ic2105ed146e4c81505ac945195956e406a1ed7ef Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188623 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com>
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.