gpu: update TODOs, give all chain fields default values
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
093be3aa53
commit
26755e0837
6 changed files with 18 additions and 22 deletions
|
|
@ -5,13 +5,13 @@ const Impl = @import("interface.zig").Impl;
|
|||
pub const ExternalTexture = opaque {
|
||||
/// TODO: Can be chained in gpu.BindGroup.Entry
|
||||
pub const BindingEntry = extern struct {
|
||||
chain: ChainedStruct,
|
||||
chain: ChainedStruct = .{ .next = null, .s_type = .external_texture_binding_entry },
|
||||
external_texture: *ExternalTexture,
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.BindGroupLayout.Entry
|
||||
pub const BindingLayout = extern struct {
|
||||
chain: ChainedStruct,
|
||||
chain: ChainedStruct = .{ .next = null, .s_type = .external_texture_binding_layout },
|
||||
};
|
||||
|
||||
pub const Descriptor = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue