@@ -2014,9 +2014,9 @@ impl Into<StorageTextureAccess> for CanvasStorageTextureAccess {
20142014#[ repr( C ) ]
20152015#[ derive( Copy , Clone , Debug ) ]
20162016pub struct CanvasTextureBindingLayout {
2017- sample_type : CanvasTextureSampleType ,
2018- view_dimension : CanvasTextureViewDimension ,
2019- multisampled : bool ,
2017+ pub sample_type : CanvasTextureSampleType ,
2018+ pub view_dimension : CanvasTextureViewDimension ,
2019+ pub multisampled : bool ,
20202020}
20212021
20222022#[ repr( C ) ]
@@ -2063,9 +2063,9 @@ impl Into<TextureSampleType> for CanvasTextureSampleType {
20632063#[ repr( C ) ]
20642064#[ derive( Copy , Clone , Debug ) ]
20652065pub struct CanvasStorageTextureBindingLayout {
2066- access : CanvasStorageTextureAccess ,
2067- format : CanvasGPUTextureFormat ,
2068- view_dimension : CanvasTextureViewDimension ,
2066+ pub access : CanvasStorageTextureAccess ,
2067+ pub format : CanvasGPUTextureFormat ,
2068+ pub view_dimension : CanvasTextureViewDimension ,
20692069}
20702070
20712071#[ repr( C ) ]
@@ -2104,15 +2104,15 @@ impl Into<SamplerBindingType> for CanvasSamplerBindingType {
21042104#[ repr( C ) ]
21052105#[ derive( Copy , Clone , Debug ) ]
21062106pub struct CanvasSamplerBindingLayout {
2107- type_ : CanvasSamplerBindingType ,
2107+ pub type_ : CanvasSamplerBindingType ,
21082108}
21092109
21102110#[ repr( C ) ]
21112111#[ derive( Copy , Clone , Debug ) ]
21122112pub struct CanvasBufferBindingLayout {
2113- type_ : CanvasBufferBindingType ,
2114- has_dynamic_offset : bool ,
2115- min_binding_size : i64 ,
2113+ pub type_ : CanvasBufferBindingType ,
2114+ pub has_dynamic_offset : bool ,
2115+ pub min_binding_size : i64 ,
21162116}
21172117
21182118#[ repr( C ) ]
@@ -2162,9 +2162,9 @@ pub enum CanvasBindingType {
21622162#[ repr( C ) ]
21632163#[ derive( Copy , Clone , Debug ) ]
21642164pub struct CanvasBindGroupLayoutEntry {
2165- binding : u32 ,
2166- visibility : u32 ,
2167- binding_type : CanvasBindingType ,
2165+ pub binding : u32 ,
2166+ pub visibility : u32 ,
2167+ pub binding_type : CanvasBindingType ,
21682168}
21692169
21702170impl Into < BindGroupLayoutEntry > for CanvasBindGroupLayoutEntry {
0 commit comments