3890934033
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> |
||
---|---|---|
.. | ||
BUILD.gn | ||
DawnSPIRVCrossFuzzer.cpp | ||
DawnSPIRVCrossFuzzer.h | ||
DawnSPIRVCrossGLSLFastFuzzer.cpp | ||
DawnSPIRVCrossHLSLFastFuzzer.cpp | ||
DawnSPIRVCrossMSLFastFuzzer.cpp | ||
DawnSPVCglslFastFuzzer.cpp | ||
DawnSPVChlslFastFuzzer.cpp | ||
DawnSPVCmslFastFuzzer.cpp | ||
DawnWireServerAndFrontendFuzzer.cpp | ||
DawnWireServerAndVulkanBackendFuzzer.cpp | ||
DawnWireServerFuzzer.cpp | ||
DawnWireServerFuzzer.h | ||
StandaloneFuzzerMain.cpp |