[fuzz] Handle sidecar data in assembler/disassembler When converting a tint_wgsl_fuzzer test case to a .tirb file, if there is a leading comment with configuration data, populate the output .tirb' data section with it. And when converting a tint_ir_fuzzer test case to a .wgsl file, if there is bytes in a .data, write out an equivalent leading comment. test/tint/fuzzing_coverage_test.wgsl is updated to be in format that the tint CLI emits, so that one can do things like ir_fuzz_as -> ir_fuzz_dis -> diff to test roundtripping manually. Bug: 474377384 Change-Id: Ibe046b71deac3241b485d41c8ea3ef2b55d05806 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/304195 Reviewed-by: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@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.