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