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