gpu: update TextureBindingLayout defaults/optionality

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-26 23:35:42 -07:00 committed by Stephen Gutekanst
parent 638619b7ea
commit 5d6c0f9930

View file

@ -215,9 +215,9 @@ pub const TextureUsageFlags = packed struct {
pub const TextureBindingLayout = extern struct {
next_in_chain: *const ChainedStruct,
sample_type: TextureSampleType,
view_dimension: TextureViewDimension,
multisampled: bool,
sample_type: TextureSampleType = .undef,
view_dimension: TextureViewDimension = .dimension_undef,
multisampled: bool = false,
};
pub const TextureDataLayout = extern struct {