gpu: update StorageTextureBindingLayout defaults/optionality

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-26 23:36:46 -07:00 committed by Stephen Gutekanst
parent 5d6c0f9930
commit 230a27b3ba

View file

@ -523,9 +523,9 @@ pub const StencilFaceState = extern struct {
pub const StorageTextureBindingLayout = extern struct {
next_in_chain: *const ChainedStruct,
access: StorageTextureAccess,
format: TextureFormat,
view_dimension: TextureViewDimension,
access: StorageTextureAccess = .undef,
format: TextureFormat = .undef,
view_dimension: TextureViewDimension = .dimension_undef,
};
pub const VertexAttribute = extern struct {