gpu: add TODOs for slice helper candidates

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-16 10:46:44 -07:00
parent e13b3078a5
commit f366244a9a
10 changed files with 20 additions and 2 deletions

View file

@ -17,6 +17,7 @@ pub const EncoderInternalUsageDescriptor = extern struct {
/// TODO: Can be chained in gpu.Instance.Descriptor
pub const InstanceDescriptor = extern struct {
chain: ChainedStruct,
// TODO: slice helper
additional_runtime_search_paths_count: u32 = 0,
additional_runtime_search_paths: ?[*]const u8 = null,
};
@ -30,8 +31,10 @@ pub const TextureInternalUsageDescriptor = extern struct {
/// TODO: Can be chained in gpu.Device.Descriptor
pub const TogglesDeviceDescriptor = extern struct {
chain: ChainedStruct,
// TODO: slice helper
force_enabled_toggles_count: u32 = 0,
force_enabled_toggles: ?[*]const u8 = null,
// TODO: slice helper
force_disabled_toggles_count: u32 = 0,
force_disabled_toggles: ?[*]const u8 = null,
};