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
|
|
@ -15,7 +15,8 @@ pub const EncoderInternalUsageDescriptor = extern struct {
|
|||
pub const InstanceDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
additional_runtime_search_paths_count: u32,
|
||||
additional_runtime_search_paths: [*]const u8,
|
||||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||
additional_runtime_search_paths: ?[*]const u8,
|
||||
};
|
||||
|
||||
pub const TextureInternalUsageDescriptor = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue