gpu: add BindGroupLayout.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
26a29e1b2a
commit
5b66e3fbe0
2 changed files with 7 additions and 7 deletions
|
|
@ -20,4 +20,11 @@ pub const BindGroupLayout = enum(usize) {
|
|||
texture: Texture.BindingLayout,
|
||||
storage_texture: StorageTextureBindingLayout,
|
||||
};
|
||||
|
||||
pub const Descriptor = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
entry_count: u32,
|
||||
entries: [*]const Entry,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue