@@ -1629,7 +1629,7 @@ impl Device {
1629
1629
1630
1630
/// Generate information about late-validated buffer bindings for pipelines.
1631
1631
//TODO: should this be combined with `get_introspection_bind_group_layouts` in some way?
1632
- pub ( crate ) fn make_late_sized_buffer_groups (
1632
+ fn make_late_sized_buffer_groups (
1633
1633
shader_binding_sizes : & FastHashMap < naga:: ResourceBinding , wgt:: BufferSize > ,
1634
1634
layout : & binding_model:: PipelineLayout ,
1635
1635
) -> ArrayVec < pipeline:: LateSizedBufferGroup , { hal:: MAX_BIND_GROUPS } > {
@@ -1881,7 +1881,7 @@ impl Device {
1881
1881
Ok ( bgl)
1882
1882
}
1883
1883
1884
- pub ( crate ) fn create_buffer_binding < ' a > (
1884
+ fn create_buffer_binding < ' a > (
1885
1885
& self ,
1886
1886
bb : & ' a binding_model:: ResolvedBufferBinding ,
1887
1887
binding : u32 ,
@@ -2068,7 +2068,7 @@ impl Device {
2068
2068
Ok ( sampler. raw ( ) )
2069
2069
}
2070
2070
2071
- pub ( crate ) fn create_texture_binding < ' a > (
2071
+ fn create_texture_binding < ' a > (
2072
2072
& self ,
2073
2073
binding : u32 ,
2074
2074
decl : & wgt:: BindGroupLayoutEntry ,
@@ -2325,7 +2325,7 @@ impl Device {
2325
2325
Ok ( bind_group)
2326
2326
}
2327
2327
2328
- pub ( crate ) fn check_array_binding (
2328
+ fn check_array_binding (
2329
2329
features : wgt:: Features ,
2330
2330
count : Option < NonZeroU32 > ,
2331
2331
num_bindings : usize ,
@@ -2358,7 +2358,7 @@ impl Device {
2358
2358
Ok ( ( ) )
2359
2359
}
2360
2360
2361
- pub ( crate ) fn texture_use_parameters (
2361
+ fn texture_use_parameters (
2362
2362
& self ,
2363
2363
binding : u32 ,
2364
2364
decl : & wgt:: BindGroupLayoutEntry ,
@@ -3449,7 +3449,7 @@ impl Device {
3449
3449
Ok ( cache)
3450
3450
}
3451
3451
3452
- pub ( crate ) fn get_texture_format_features (
3452
+ fn get_texture_format_features (
3453
3453
& self ,
3454
3454
format : TextureFormat ,
3455
3455
) -> wgt:: TextureFormatFeatures {
@@ -3466,7 +3466,7 @@ impl Device {
3466
3466
format_features
3467
3467
}
3468
3468
3469
- pub ( crate ) fn describe_format_features (
3469
+ fn describe_format_features (
3470
3470
& self ,
3471
3471
format : TextureFormat ,
3472
3472
) -> Result < wgt:: TextureFormatFeatures , MissingFeatures > {
0 commit comments