gpu: update defaults/optionality for RenderPipelineDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 09:16:34 -07:00 committed by Stephen Gutekanst
parent 63f925902c
commit e1a0c6dee6

View file

@ -32,7 +32,7 @@ pub const RenderPipelineDescriptor = extern struct {
layout: ?PipelineLayout,
vertex: VertexState,
primitive: PrimitiveState,
depth_stencil: ?*const DepthStencilState = null, // nullable
depth_stencil: ?*const DepthStencilState,
multisample: MultisampleState,
fragment: ?*const FragmentState = null, // nullable
fragment: ?*const FragmentState,
};