gpu: implement Dawn deviceCreateQuerySet
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
53d2aae40b
commit
d8b5d62634
1 changed files with 4 additions and 3 deletions
|
|
@ -461,9 +461,10 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn deviceCreateQuerySet(device: *gpu.Device, descriptor: *const gpu.QuerySet.Descriptor) *gpu.QuerySet {
|
||||
_ = device;
|
||||
_ = descriptor;
|
||||
unreachable;
|
||||
return @ptrCast(*gpu.QuerySet, procs.deviceCreateQuerySet.?(
|
||||
@ptrCast(c.WGPUDevice, device),
|
||||
@ptrCast(*const c.WGPUQuerySetDescriptor, descriptor),
|
||||
));
|
||||
}
|
||||
|
||||
pub inline fn deviceCreateRenderBundleEncoder(device: *gpu.Device, descriptor: *const gpu.RenderBundleEncoder.Descriptor) *gpu.RenderBundleEncoder {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue