gpu: implement Dawn deviceGetLimits
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8742fbe902
commit
2113767490
1 changed files with 4 additions and 3 deletions
|
|
@ -547,9 +547,10 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn deviceGetLimits(device: *gpu.Device, limits: *gpu.SupportedLimits) bool {
|
||||
_ = device;
|
||||
_ = limits;
|
||||
unreachable;
|
||||
return procs.deviceGetLimits.?(
|
||||
@ptrCast(c.WGPUDevice, device),
|
||||
@ptrCast(*c.WGPUSupportedLimits, limits),
|
||||
);
|
||||
}
|
||||
|
||||
pub inline fn deviceGetQueue(device: *gpu.Device) *gpu.Queue {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue