commit | 8fa21703df2f35322556b4c692f5d7fc87b60e19 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jan 15 14:15:08 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 15 14:15:08 2025 -0800 |
tree | 3996e6a8a0a16e466b7fadaee46cbf1fbeb47094 | |
parent | aa519540323db4f100f82f22cedd45bf8d59e428 [diff] |
[tint][msl] Check module + options before generating Move the `CanRun()` function from the writer fuzzer into the writer as a helper function. This can then be used by both the fuzzer and the Tint executable to check whether the backend can actually handle the module+options. This yields much more user friendly error messages from the Tint executable when trying to generate backend code for a module that contains features that are not supported by that backend. Bug: 376572262 Change-Id: Ib451250b4898c3f46edaa4ba2e36d6d39e625d91 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/222095 Reviewed-by: dan sinclair <dsinclair@chromium.org> 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.