gpu: add BindGroup.Descriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:28:47 -07:00 committed by Stephen Gutekanst
parent 82bff3e9b4
commit 4fd4c5db7e
2 changed files with 9 additions and 8 deletions

View file

@ -1,11 +1,3 @@
pub const WGPUBindGroupDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
layout: BindGroupLayout,
entry_count: u32,
entries: [*]const BindGroupEntry,
};
pub const WGPUBindGroupLayoutEntry = extern struct {
next_in_chain: *const ChainedStruct,
binding: u32,