commit | c8de4bcf68fd21341936e45014cc044cabfb1c3f | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jan 15 14:25:18 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 15 14:25:18 2025 -0800 |
tree | b15af053828ce2b7d6ebb2502b5228c6e865f944 | |
parent | 8fa21703df2f35322556b4c692f5d7fc87b60e19 [diff] |
[tint][hlsl] 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: I23d1cea04ab2a3cde769f577a4287f7649f535cf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/222135 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: 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.