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
|
|
@ -2,7 +2,6 @@ const ChainedStruct = @import("types.zig").ChainedStruct;
|
|||
const Texture = @import("texture.zig").Texture;
|
||||
pub const Interface = @import("dawn_impl.zig").Interface;
|
||||
|
||||
/// TODO: Can be chained in gpu.Device.Descriptor
|
||||
pub const CacheDeviceDescriptor = extern struct {
|
||||
chain: ChainedStruct = .{ .next = null, .s_type = .dawn_cache_device_descriptor },
|
||||
isolation_key: [*:0]const u8 = "",
|
||||
|
|
@ -39,7 +38,6 @@ pub const TextureInternalUsageDescriptor = extern struct {
|
|||
internal_usage: Texture.UsageFlags = Texture.UsageFlags.none,
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.Device.Descriptor
|
||||
pub const TogglesDeviceDescriptor = extern struct {
|
||||
chain: ChainedStruct = .{ .next = null, .s_type = .dawn_toggles_device_descriptor },
|
||||
force_enabled_toggles_count: u32 = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue