gpu: update to latest revision as of 2022-08-06
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f856fccb76
commit
9f4a93cbef
8 changed files with 43 additions and 20 deletions
|
|
@ -2,16 +2,19 @@ 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,
|
||||
isolation_key: [*:0]const u8 = "",
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.CommandEncoder.Descriptor
|
||||
pub const EncoderInternalUsageDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
use_internal_usages: bool = false,
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.Instance.Descriptor
|
||||
pub const InstanceDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
additional_runtime_search_paths_count: u32,
|
||||
|
|
@ -19,11 +22,13 @@ pub const InstanceDescriptor = extern struct {
|
|||
additional_runtime_search_paths: ?[*]const u8,
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.Texture.Descriptor
|
||||
pub const TextureInternalUsageDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
internal_usage: Texture.UsageFlags = Texture.UsageFlags.none,
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.Device.Descriptor
|
||||
pub const TogglesDeviceDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
force_enabled_toggles_count: u32 = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue