gpu: make all next_in_chain fields optional, default to null
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9fccd0806c
commit
41fe42e366
23 changed files with 44 additions and 44 deletions
|
|
@ -31,12 +31,12 @@ pub const SamplerBindingType = enum(u32) {
|
|||
};
|
||||
|
||||
pub const SamplerBindingLayout = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
next_in_chain: ?*const ChainedStruct = null,
|
||||
type: SamplerBindingType = .undef,
|
||||
};
|
||||
|
||||
pub const SamplerDescriptor = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
next_in_chain: ?*const ChainedStruct = null,
|
||||
label: ?[*:0]const u8 = null,
|
||||
address_mode_u: SamplerAddressMode = .clamp_to_edge,
|
||||
address_mode_v: SamplerAddressMode = .clamp_to_edge,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue