gpu: update defaults/optionality for Extent3D

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 00:33:48 -07:00 committed by Stephen Gutekanst
parent 0c5e3b5dac
commit 36d083b62f

View file

@ -416,8 +416,8 @@ pub const Color = extern struct {
pub const Extent3D = extern struct {
width: u32,
height: u32,
depth_or_array_layers: u32,
height: u32 = 1,
depth_or_array_layers: u32 = 1,
};
pub const Limits = extern struct {