commit | c7d4205172c8ae635e86d328873f2f67c9b6e8d4 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Wed May 22 04:38:49 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 22 04:38:49 2024 +0000 |
tree | 4beb89ec6f1f4ad6356f101b9ce29980433de484 | |
parent | bb64dfa5002a9086a7d39ede6bf87aa0c6839d1f [diff] |
Add generating Tint IR fuzzer corpus This adds in a Python script for generating IR binary file from a WGSL file, build rules for running this over the testing WGSL files, and changes to the IR binary outputting code to reduce the number of failures due to unsupported inputs. Currently 7203 out of 7275 shaders that are used in the WGSL corpus are convertable. Those that are not, either use enables that are not supported in the IR, or fail for reasons like missing override values. The generation code is resiliant enough that these failure do not break process, so investigating those failing shaders can be done in a follow up CL/issue. Issue: 341114373 Change-Id: Ic7b26010465865c46b1013db3a0613d89e0db457 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188662 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: 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.