mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Change Device::Tick To Return Bool
Changes Device::Tick to return a boolean that denotes whether or not Tick needs to be called again. Bug: dawn:119 Change-Id: I9d4c7e291536d676b33fc61d652667c1fbff8c62 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/29980 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Brandon Jones <brandon1.jones@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
294f71c5c9
commit
4ad35865b0
@@ -193,6 +193,8 @@ namespace dawn_native {
|
||||
// Backdoor to get the order of the ProcMap for testing
|
||||
DAWN_NATIVE_EXPORT std::vector<const char*> GetProcMapNamesForTesting();
|
||||
|
||||
DAWN_NATIVE_EXPORT bool DeviceTick(WGPUDevice device);
|
||||
|
||||
// ErrorInjector functions used for testing only. Defined in dawn_native/ErrorInjector.cpp
|
||||
DAWN_NATIVE_EXPORT void EnableErrorInjector();
|
||||
DAWN_NATIVE_EXPORT void DisableErrorInjector();
|
||||
|
||||
Reference in New Issue
Block a user