Skip to content

Commit c3ed981

Browse files
committed
[naga msl-out] Remove unnecessary pub from Writer fields.
In `naga::back::msl::writer`, remove `pub(super)` visibility from fields that are not actually used outside the module.
1 parent a29a8fc commit c3ed981

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

naga/src/back/msl/writer.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -532,18 +532,18 @@ pub(super) enum WrappedFunction {
532532
pub struct Writer<W> {
533533
pub(super) out: W,
534534
pub(super) names: FastHashMap<NameKey, String>,
535-
pub(super) named_expressions: crate::NamedExpressions,
535+
named_expressions: crate::NamedExpressions,
536536
/// Set of expressions that need to be baked to avoid unnecessary repetition in output
537-
pub(super) need_bake_expressions: back::NeedBakeExpressions,
537+
need_bake_expressions: back::NeedBakeExpressions,
538538
pub(super) namer: proc::Namer,
539-
pub(super) wrapped_functions: FastHashSet<WrappedFunction>,
539+
wrapped_functions: FastHashSet<WrappedFunction>,
540540
#[cfg(test)]
541-
pub(super) put_expression_stack_pointers: FastHashSet<*const ()>,
541+
put_expression_stack_pointers: FastHashSet<*const ()>,
542542
#[cfg(test)]
543-
pub(super) put_block_stack_pointers: FastHashSet<*const ()>,
543+
put_block_stack_pointers: FastHashSet<*const ()>,
544544
/// Set of (struct type, struct field index) denoting which fields require
545545
/// padding inserted **before** them (i.e. between fields at index - 1 and index)
546-
pub(super) struct_member_pads: FastHashSet<(Handle<crate::Type>, u32)>,
546+
struct_member_pads: FastHashSet<(Handle<crate::Type>, u32)>,
547547
}
548548

549549
impl crate::Scalar {

0 commit comments

Comments
 (0)