gpu: update defaults/optionality for VertexBufferLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4c48f09c07
commit
e0e262ea1c
1 changed files with 1 additions and 1 deletions
|
|
@ -610,7 +610,7 @@ pub const SupportedLimits = extern struct {
|
|||
|
||||
pub const VertexBufferLayout = extern struct {
|
||||
array_stride: u64,
|
||||
step_mode: VertexStepMode,
|
||||
step_mode: VertexStepMode = .vertex,
|
||||
attribute_count: u32,
|
||||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||
attributes: ?[*]const VertexAttribute,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue