gpu: update defaults/optionality for StencilFaceState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8ec20d020e
commit
accb253c27
1 changed files with 4 additions and 4 deletions
|
|
@ -515,10 +515,10 @@ pub const RenderPassDescriptorMaxDrawCount = extern struct {
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const StencilFaceState = extern struct {
|
pub const StencilFaceState = extern struct {
|
||||||
compare: CompareFunction,
|
compare: CompareFunction = .always,
|
||||||
fail_op: StencilOperation,
|
fail_op: StencilOperation = .keep,
|
||||||
depth_fail_op: StencilOperation,
|
depth_fail_op: StencilOperation = .keep,
|
||||||
pass_op: StencilOperation,
|
pass_op: StencilOperation = .keep,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const StorageTextureBindingLayout = extern struct {
|
pub const StorageTextureBindingLayout = extern struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue