gpu: implement Dawn devicePopErrorScope
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
41763018f7
commit
08ac8d24b2
1 changed files with 5 additions and 4 deletions
|
|
@ -577,10 +577,11 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn devicePopErrorScope(device: *gpu.Device, callback: gpu.ErrorCallback, userdata: *anyopaque) bool {
|
pub inline fn devicePopErrorScope(device: *gpu.Device, callback: gpu.ErrorCallback, userdata: *anyopaque) bool {
|
||||||
_ = device;
|
return procs.devicePopErrorScope.?(
|
||||||
_ = callback;
|
@ptrCast(c.WGPUDevice, device),
|
||||||
_ = userdata;
|
@ptrCast(c.WGPUErrorCallback, callback),
|
||||||
unreachable;
|
userdata,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn devicePushErrorScope(device: *gpu.Device, filter: gpu.ErrorFilter) void {
|
pub inline fn devicePushErrorScope(device: *gpu.Device, filter: gpu.ErrorFilter) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue