dawn-cmake/src/fuzzers
Austin Eng 3890934033 fuzzing: Create Instance and discover Adapters only once
This patch moves Instance initialization and adapter discovery so that
it is done once globally, and not for every fuzz input. This is to work
around a bug where destructing the instance at the end of a run breaks
when fuzzing with Swiftshader.

Bug: dawn:295, chromium:1038952
Change-Id: Iabfe178f40b9df85d47a6353f16cd2ef26f39966
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14822
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2020-01-06 20:40:27 +00:00
..
BUILD.gn fuzzing: Add Vulkan backend fuzzer 2019-12-19 17:01:38 +00:00
DawnSPIRVCrossFuzzer.cpp Remove Full SPIRV-Cross fuzzers 2019-06-12 08:49:15 +00:00
DawnSPIRVCrossFuzzer.h Roll ahead shaderc API and update API usage as needed 2019-09-19 14:20:46 +00:00
DawnSPIRVCrossGLSLFastFuzzer.cpp Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
DawnSPIRVCrossHLSLFastFuzzer.cpp Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
DawnSPIRVCrossMSLFastFuzzer.cpp Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
DawnSPVCglslFastFuzzer.cpp Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
DawnSPVChlslFastFuzzer.cpp Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
DawnSPVCmslFastFuzzer.cpp Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
DawnWireServerAndFrontendFuzzer.cpp fuzzing: Create Instance and discover Adapters only once 2020-01-06 20:40:27 +00:00
DawnWireServerAndVulkanBackendFuzzer.cpp fuzzing: Create Instance and discover Adapters only once 2020-01-06 20:40:27 +00:00
DawnWireServerFuzzer.cpp fuzzing: Create Instance and discover Adapters only once 2020-01-06 20:40:27 +00:00
DawnWireServerFuzzer.h Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
StandaloneFuzzerMain.cpp Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00