gpu: add InstanceDescriptor slice helper

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-16 17:21:19 -07:00
parent c3bb1683a6
commit cb80cfc3c2
3 changed files with 13 additions and 2 deletions

View file

@ -48,7 +48,6 @@ pub const BindGroup = opaque {
next_in_chain: ?*const ChainedStruct = null,
label: ?[*:0]const u8 = null,
layout: *BindGroupLayout,
// TODO: slice helper
entry_count: u32 = 0,
entries: ?[*]const Entry = null,