commit | aa39095a577b9940c50be63b64047a860696854a | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue May 14 19:11:20 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 14 19:11:20 2024 +0000 |
tree | c6b3688a4539b4a737d0dcc4a5197f5abb0914dd | |
parent | 55b8561232dcdb3351da1233d5a3bb710734eda4 [diff] |
[tint][ast] Fix DirectVariableAccess with uncalled function ptr params If a function has no calls, and in turn calls another function with a function-address-space pointer parameter, then we could incorrectly attempt to create a parameter with a pointer-to-pointer type. The code was missing an `UnwrapPtrOrRef` - this wasn't noticed as most originating variables are `ref` types, and `CreateASTTypeFor()` will construct the storage type for a `ref` type. Bug: 339684346 Change-Id: I0c32536acb6f582ae521868e1599c22c77f656bc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/187689 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: James Price <jrprice@google.com> Auto-Submit: Ben Clayton <bclayton@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.