gpu: add type-safety for chaining dawn.TextureInternalUsageDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e4ee5e221b
commit
8462427524
2 changed files with 8 additions and 3 deletions
|
|
@ -32,7 +32,6 @@ pub const InstanceDescriptor = extern struct {
|
|||
}
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.Texture.Descriptor
|
||||
pub const TextureInternalUsageDescriptor = extern struct {
|
||||
chain: ChainedStruct = .{ .next = null, .s_type = .dawn_texture_internal_usage_descriptor },
|
||||
internal_usage: Texture.UsageFlags = Texture.UsageFlags.none,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue