| commit | 1c1cd5337fefc49b50fbfe0e75b5c1919629bc94 | [log] [tgz] |
|---|---|---|
| author | dan sinclair <dsinclair@chromium.org> | Thu Jan 08 08:48:52 2026 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 08 08:48:52 2026 -0800 |
| tree | 28ec635f7356f0b0089800811d0b1638a9a5ff33 | |
| parent | 03fac78a7b3f15f1268bc6bc80a59cd6d7839f4b [diff] |
Change tint emission for multiple entry points. Currently, if you provide an output file like `-o foo.hlsl` and the given `wgsl` we change the name of the output file to inject the entry point name (so you may get `foo.main.hlsl` output instead). This behaviour is confusing, instead, if `-o` is provided but `--ep` is not and there are multiple entry points, we emit an error and require an entry point to be provided. This does not effect emitting to stdout, you'll still get all of the entry points emitted. It also does not require `--ep` if there is only a single entry point in the WGSL file. Bug: 473791193 Change-Id: I849b722e83bd35b44a4cc56f53e59a68ed2fa213 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/283659 Commit-Queue: James Price <jrprice@google.com> Auto-Submit: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@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.