gpu: add type-safety for chaining dawn.CacheDeviceDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7fa4075714
commit
e4ee5e221b
2 changed files with 1 additions and 2 deletions
|
|
@ -46,6 +46,7 @@ pub const Device = opaque {
|
|||
pub const NextInChain = extern union {
|
||||
generic: ?*const ChainedStruct,
|
||||
dawn_toggles_device_descriptor: *const dawn.TogglesDeviceDescriptor,
|
||||
dawn_cache_device_descriptor: *const dawn.CacheDeviceDescriptor,
|
||||
};
|
||||
|
||||
next_in_chain: NextInChain = .{ .generic = null },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue