From e1a0c6dee6adc0f05963a52cd19751bbf40d261a Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Wed, 27 Jul 2022 09:16:34 -0700 Subject: [PATCH] gpu: update defaults/optionality for RenderPipelineDescriptor Signed-off-by: Stephen Gutekanst --- gpu/src/render_pipeline.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpu/src/render_pipeline.zig b/gpu/src/render_pipeline.zig index 7bd8e93b..3e9f2c1c 100644 --- a/gpu/src/render_pipeline.zig +++ b/gpu/src/render_pipeline.zig @@ -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, };