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
|
|
@ -238,5 +238,6 @@ pub const TextureDescriptor = extern struct {
|
|||
mip_level_count: u32 = 1,
|
||||
sample_count: u32 = 1,
|
||||
view_format_count: u32 = 0,
|
||||
view_formats: [*]const TextureFormat,
|
||||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||
view_formats: ?[*]const TextureFormat,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue