gpu: update BufferBindingLayout defaults/optionality

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-26 23:33:51 -07:00 committed by Stephen Gutekanst
parent e293843f5d
commit 534d9413fc

View file

@ -93,7 +93,7 @@ pub const BufferUsage = packed struct {
pub const BufferBindingLayout = extern struct {
next_in_chain: *const ChainedStruct,
type: BufferBindingType,
type: BufferBindingType = .undef,
has_dynamic_offset: bool = false,
min_binding_size: u64 = 0,
};