commit | fd6148a3d16526bb6895d831459c9bf1fdf12af1 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jun 12 16:58:08 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 12 16:58:08 2025 -0700 |
tree | e57ad8fe6ffd7a9aad2fdc59c9b64c0b30a84e16 | |
parent | 1e45f103ea633ea5a84089598bc70090cddbd578 [diff] |
Update spirv unittests missing entry point interface. Several of the SPIR-V unittests check various IO attributes by assuming that the reader will turn then into variables regardless of usage. The new IR reader looks at the `OpEntryPoint` interface to determine if the variable should be created. Update the tests to make sure the needed IO variables are in the interface of the entry point so they don't get stripped from the resulting WGSL. Bug: 42250952 Change-Id: I1ea24d28a64ec3d49f313b762ada315e75c9840a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/246674 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
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.