mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 14:08:04 +00:00
Add dawnGetProcAddress.
This will become wgpuGetProcAddress that is part of the webgpu.h and the last gap in functionality for dawn.h to match webgpu.h. BUG=dawn:22 Change-Id: I0dcb3b5e6bd99cb10db273fc101d3ec0161b7da0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12120 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
96496828a0
commit
c57b180208
@@ -160,6 +160,9 @@ namespace dawn_native {
|
||||
|
||||
// Backdoor to get the number of lazy clears for testing
|
||||
DAWN_NATIVE_EXPORT size_t GetLazyClearCountForTesting(DawnDevice device);
|
||||
|
||||
// Backdoor to get the order of the ProcMap for testing
|
||||
DAWN_NATIVE_EXPORT std::vector<const char*> GetProcMapNamesForTesting();
|
||||
} // namespace dawn_native
|
||||
|
||||
#endif // DAWNNATIVE_DAWNNATIVE_H_
|
||||
|
||||
@@ -120,8 +120,10 @@ namespace dawn_wire {
|
||||
virtual ~WriteHandle();
|
||||
};
|
||||
};
|
||||
} // namespace client
|
||||
|
||||
// Backdoor to get the order of the ProcMap for testing
|
||||
DAWN_WIRE_EXPORT std::vector<const char*> GetProcMapNamesForTesting();
|
||||
} // namespace client
|
||||
} // namespace dawn_wire
|
||||
|
||||
#endif // DAWNWIRE_WIRECLIENT_H_
|
||||
|
||||
Reference in New Issue
Block a user