gpu: update defaults/optionality for ProgrammableStageDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b89ee0361b
commit
4c48f09c07
1 changed files with 2 additions and 2 deletions
|
|
@ -578,9 +578,9 @@ pub const ProgrammableStageDescriptor = extern struct {
|
|||
next_in_chain: *const ChainedStruct,
|
||||
module: ShaderModule,
|
||||
entry_point: [*:0]const u8,
|
||||
constant_count: u32,
|
||||
constant_count: u32 = 0,
|
||||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||
constants: ?[*]const ConstantEntry,
|
||||
constants: ?[*]const ConstantEntry = null,
|
||||
};
|
||||
|
||||
pub const RenderPassColorAttachment = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue