mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 08:57:26 +00:00
Output WGSL instead of SPIR-V in transform fuzzers
Generating SPIR-V can cause validation failures when out-of-bounds accesses are performed, since we are not running the robustness transform. Bug: chromium:1246061 Change-Id: Ied58d77d90079d10d5579d2d55854c3cfbc18db5 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/63640 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
b7bcbf0d20
commit
5910ec1e8a
@@ -30,7 +30,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
|
||||
transform_manager.Add<tint::transform::VertexPulling>();
|
||||
|
||||
tint::fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kSpv);
|
||||
tint::fuzzers::CommonFuzzer fuzzer(InputFormat::kWGSL, OutputFormat::kWGSL);
|
||||
fuzzer.SetTransformManager(&transform_manager, std::move(transform_inputs));
|
||||
fuzzer.SetDumpInput(GetCliParams().dump_input);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user