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 {
|
||||
_ = device;
|
||||
_ = callback;
|
||||
_ = userdata;
|
||||
unreachable;
|
||||
return procs.devicePopErrorScope.?(
|
||||
@ptrCast(c.WGPUDevice, device),
|
||||
@ptrCast(c.WGPUErrorCallback, callback),
|
||||
userdata,
|
||||
);
|
||||
}
|
||||
|
||||
pub inline fn devicePushErrorScope(device: *gpu.Device, filter: gpu.ErrorFilter) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue