gpu: update defaults/optionality for DepthStencilState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
745abc4920
commit
9c7c8c00bf
1 changed files with 7 additions and 7 deletions
|
|
@ -549,15 +549,15 @@ pub const CompilationInfo = extern struct {
|
|||
pub const DepthStencilState = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
format: TextureFormat,
|
||||
depth_write_enabled: bool,
|
||||
depth_compare: CompareFunction,
|
||||
depth_write_enabled: bool = false,
|
||||
depth_compare: CompareFunction = .always,
|
||||
stencil_front: StencilFaceState,
|
||||
stencil_back: StencilFaceState,
|
||||
stencil_read_mask: u32,
|
||||
stencil_write_mask: u32,
|
||||
depth_bias: i32,
|
||||
depth_bias_slope_scale: f32,
|
||||
depth_bias_clamp: f32,
|
||||
stencil_read_mask: u32 = 0xFFFFFFFF,
|
||||
stencil_write_mask: u32 = 0xFFFFFFFF,
|
||||
depth_bias: i32 = 0,
|
||||
depth_bias_slope_scale: f32 = 0.0,
|
||||
depth_bias_clamp: f32 = 0.0,
|
||||
};
|
||||
|
||||
pub const ImageCopyBuffer = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue