gpu: implement Dawn deviceLoseForTesting
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8b7d810450
commit
b2aaaba4bf
1 changed files with 1 additions and 2 deletions
|
|
@ -536,8 +536,7 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn deviceLoseForTesting(device: *gpu.Device) void {
|
||||
_ = device;
|
||||
unreachable;
|
||||
procs.deviceLoseForTesting.?(@ptrCast(c.WGPUDevice, device));
|
||||
}
|
||||
|
||||
pub inline fn devicePopErrorScope(device: *gpu.Device, callback: gpu.ErrorCallback, userdata: *anyopaque) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue