gpu: mirror more WebGPU spec default values (#249)
Helps hexops/mach#182
This commit is contained in:
parent
8df8b043ad
commit
4e3a58897b
3 changed files with 16 additions and 16 deletions
|
|
@ -43,11 +43,11 @@ pub const Descriptor = struct {
|
|||
reserved: ?*anyopaque = null,
|
||||
label: ?[*:0]const u8 = null,
|
||||
usage: Usage,
|
||||
dimension: Dimension,
|
||||
dimension: Dimension = .dimension_2d,
|
||||
size: Extent3D,
|
||||
format: Format,
|
||||
mip_level_count: u32,
|
||||
sample_count: u32,
|
||||
mip_level_count: u32 = 1,
|
||||
sample_count: u32 = 1,
|
||||
view_formats: ?[]const Format = null,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue