gpu: update defaults/optionality for StencilFaceState

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 00:42:50 -07:00 committed by Stephen Gutekanst
parent 8ec20d020e
commit accb253c27

View file

@ -515,10 +515,10 @@ pub const RenderPassDescriptorMaxDrawCount = extern struct {
};
pub const StencilFaceState = extern struct {
compare: CompareFunction,
fail_op: StencilOperation,
depth_fail_op: StencilOperation,
pass_op: StencilOperation,
compare: CompareFunction = .always,
fail_op: StencilOperation = .keep,
depth_fail_op: StencilOperation = .keep,
pass_op: StencilOperation = .keep,
};
pub const StorageTextureBindingLayout = extern struct {