gpu: correct ChainedStruct / ChainedStructOut next field nullability
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2a39ff8f7e
commit
3ff682956f
1 changed files with 4 additions and 2 deletions
|
|
@ -436,12 +436,14 @@ pub const ShaderStageFlags = packed struct {
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const ChainedStruct = extern struct {
|
pub const ChainedStruct = extern struct {
|
||||||
next: *const ChainedStruct,
|
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||||
|
next: ?*const ChainedStruct = null,
|
||||||
s_type: SType,
|
s_type: SType,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const ChainedStructOut = extern struct {
|
pub const ChainedStructOut = extern struct {
|
||||||
next: *ChainedStructOut,
|
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||||
|
next: ?*ChainedStructOut = null,
|
||||||
s_type: SType,
|
s_type: SType,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue