gpu: update SamplerBindingLayout defaults/optionality

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

View file

@ -32,7 +32,7 @@ pub const SamplerBindingType = enum(u32) {
pub const SamplerBindingLayout = extern struct {
next_in_chain: *const ChainedStruct,
type: SamplerBindingType,
type: SamplerBindingType = .undef,
};
pub const SamplerDescriptor = extern struct {