diff --git a/generator/templates/dawn_native/ProcTable.cpp b/generator/templates/dawn_native/ProcTable.cpp index 4f1bc7c33c..81679afb45 100644 --- a/generator/templates/dawn_native/ProcTable.cpp +++ b/generator/templates/dawn_native/ProcTable.cpp @@ -105,7 +105,7 @@ namespace dawn_native { return nullptr; } - std::vector GetProcMapNamesForTesting() { + std::vector GetProcMapNamesForTestingInternal() { std::vector result; result.reserve(sProcMapSize); for (const ProcEntry& entry : sProcMap) { diff --git a/src/dawn_native/DawnNative.cpp b/src/dawn_native/DawnNative.cpp index f0c3bc4a41..e63e3b8efd 100644 --- a/src/dawn_native/DawnNative.cpp +++ b/src/dawn_native/DawnNative.cpp @@ -134,4 +134,10 @@ namespace dawn_native { return deviceBase->GetLazyClearCountForTesting(); } + std::vector GetProcMapNamesForTestingInternal(); + + std::vector GetProcMapNamesForTesting() { + return GetProcMapNamesForTestingInternal(); + } + } // namespace dawn_native