gpu: implement Dawn adapterEnumerateFeatures
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
51c98a3986
commit
a1eeca9581
1 changed files with 4 additions and 3 deletions
|
|
@ -35,9 +35,10 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn adapterEnumerateFeatures(adapter: *gpu.Adapter, features: ?[*]gpu.FeatureName) usize {
|
||||
_ = adapter;
|
||||
_ = features;
|
||||
unreachable;
|
||||
return procs.adapterEnumerateFeatures.?(
|
||||
@ptrCast(c.WGPUAdapter, adapter),
|
||||
@ptrCast([*]c.WGPUFeatureName, features),
|
||||
);
|
||||
}
|
||||
|
||||
pub inline fn adapterGetLimits(adapter: *gpu.Adapter, limits: *gpu.SupportedLimits) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue