mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
Add empty implementations of Push/PopErrorScope
This adds Push/PopErrorScope to the API with empty implementations which just call the error callback. Also adds unittests that the wire callbacks return as expected. Bug: dawn:153 Change-Id: I63826360e39fbac4c9855d3d55a05b5ca26db450 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10543 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
f5c44772a6
commit
45238d775a
@@ -60,6 +60,10 @@ void ProcTableAsClass::DeviceSetUncapturedErrorCallback(DawnDevice self,
|
||||
OnDeviceSetUncapturedErrorCallback(self, callback, userdata);
|
||||
}
|
||||
|
||||
bool ProcTableAsClass::DevicePopErrorScope(DawnDevice self, DawnErrorCallback callback, void* userdata) {
|
||||
return OnDevicePopErrorScopeCallback(self, callback, userdata);
|
||||
}
|
||||
|
||||
void ProcTableAsClass::DeviceCreateBufferMappedAsync(DawnDevice self,
|
||||
const DawnBufferDescriptor* descriptor,
|
||||
DawnBufferCreateMappedCallback callback,
|
||||
|
||||
Reference in New Issue
Block a user