commit | 5d40b8c129c1496b8138511c816f1b9f33fecb12 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Nov 06 18:16:03 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 06 18:16:03 2024 +0000 |
tree | 8f096e9889303da96478759408d7b6a4be75790f | |
parent | c86c5f287359036f2a457f4ba9942bcfbc39947b [diff] |
[fuzz] Validate IR modules against fuzzer-specific capabilities Different IR fuzzers have different predconditions and therefore require the IR module to be validated against different IR capabilities. Add a parameter to the TINT_IR_MODULE_FUZZER macro that fuzzers use to set their supported capabilities. Instead of validating the IR module once after decoding, move validation into the Run loop so that we can validate against these per-fuzzer capabilities. Move capability lists to transform header files so that they can be shared between fuzzers and the transforms themselves. Change-Id: I38cf6aaa337320a63acb57ad1cfa5362dee84ec1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/213955 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.