gpu: add Device.Descriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 21:00:52 -07:00 committed by Stephen Gutekanst
parent 286cbb6160
commit 8484d47e78
2 changed files with 14 additions and 9 deletions

View file

@ -1,12 +1,3 @@
pub const WGPUDeviceDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
required_features_count: u32,
required_features: [*]const FeatureName,
required_limits: ?*const RequiredLimits = null, // nullable
default_queue: Queue.Descriptor,
};
pub const WGPURenderPassDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,