gpu: correct nullable slice / _count-ed pointers (bug in Dawn docs)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
937d0120a3
commit
158ba8db59
8 changed files with 26 additions and 13 deletions
|
|
@ -20,5 +20,6 @@ pub const PipelineLayoutDescriptor = extern struct {
|
|||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
bind_group_layout_count: u32,
|
||||
bind_group_layouts: [*]const BindGroupLayout,
|
||||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||
bind_group_layouts: ?[*]const BindGroupLayout,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue