gpu: update defaults/optionality for MultisampleState

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 09:39:16 -07:00 committed by Stephen Gutekanst
parent 158ba8db59
commit 745abc4920

View file

@ -486,9 +486,9 @@ pub const CopyTextureForBrowserOptions = extern struct {
pub const MultisampleState = extern struct { pub const MultisampleState = extern struct {
next_in_chain: *const ChainedStruct, next_in_chain: *const ChainedStruct,
count: u32, count: u32 = 1,
mask: u32, mask: u32 = 0xFFFFFFFF,
alpha_to_coverage_enabled: bool, alpha_to_coverage_enabled: bool = false,
}; };
pub const PrimitiveDepthClampingState = extern struct { pub const PrimitiveDepthClampingState = extern struct {