gpu: add type-safety for chaining dawn.InstanceDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8462427524
commit
801d772752
2 changed files with 7 additions and 2 deletions
|
|
@ -13,7 +13,6 @@ pub const EncoderInternalUsageDescriptor = extern struct {
|
|||
use_internal_usages: bool = false,
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.Instance.Descriptor
|
||||
pub const InstanceDescriptor = extern struct {
|
||||
chain: ChainedStruct = .{ .next = null, .s_type = .dawn_instance_descriptor },
|
||||
additional_runtime_search_paths_count: u32 = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue