gpu: add type-safety for chaining ExternalTexture.BindingLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1f0b50ba13
commit
8826cfb7a0
2 changed files with 7 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ pub const ExternalTexture = opaque {
|
|||
external_texture: *ExternalTexture,
|
||||
};
|
||||
|
||||
/// TODO: Can be chained in gpu.BindGroupLayout.Entry
|
||||
pub const BindingLayout = extern struct {
|
||||
chain: ChainedStruct = .{ .next = null, .s_type = .external_texture_binding_layout },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue