diff --git a/gpu/src/types.zig b/gpu/src/types.zig index 1410f76d..fda8ae44 100644 --- a/gpu/src/types.zig +++ b/gpu/src/types.zig @@ -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,