Actually fix DawnWireServerFuzzer.cpp on Windows ASAN
Bug: dawn:302 Change-Id: I8af045c609d1552c491d6e6f48b13b172172c2ab Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133520 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Loko Kung <lokokung@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
97ab6a3a70
commit
ba8587b6c8
|
@ -67,7 +67,7 @@ int DawnWireServerFuzzer::Initialize(int* argc, char*** argv) {
|
|||
// resulting in ASAN false positives. We work around this by explicitly loading the loader
|
||||
// without unloading it here.
|
||||
#if DAWN_PLATFORM_IS(WINDOWS) && defined(ADDRESS_SANITIZER)
|
||||
sVulkanLoader.Open(GetExecutableDirectory().value_or("") + "vulkan-1.dll");
|
||||
sVulkanLoader.Open(dawn::GetExecutableDirectory().value_or("") + "vulkan-1.dll");
|
||||
#endif
|
||||
|
||||
sInstance->DiscoverDefaultAdapters();
|
||||
|
|
Loading…
Reference in New Issue