gpu: implement Dawn deviceGetQueue
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b2aaaba4bf
commit
3ea6cb90de
1 changed files with 1 additions and 2 deletions
|
|
@ -518,8 +518,7 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn deviceGetQueue(device: *gpu.Device) *gpu.Queue {
|
||||
_ = device;
|
||||
unreachable;
|
||||
return @ptrCast(*gpu.Queue, procs.deviceGetQueue.?(@ptrCast(c.WGPUDevice, device)));
|
||||
}
|
||||
|
||||
pub inline fn deviceHasFeature(device: *gpu.Device, feature: gpu.FeatureName) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue