gpu: update BindGroupEntry defaults/optionality

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-26 23:29:29 -07:00 committed by Stephen Gutekanst
parent 71e371918e
commit e293843f5d

View file

@ -23,7 +23,7 @@ pub const BindGroupEntry = extern struct {
next_in_chain: *const ChainedStruct,
binding: u32,
buffer: ?Buffer,
offset: u64,
offset: u64 = 0,
size: u64,
sampler: ?Sampler,
texture_view: ?TextureView,