Skip to content

Commit 4dc1024

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 1503796 commit 4dc1024

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

naga/src/back/msl/writer.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -529,17 +529,17 @@ pub struct Writer<W> {
529529
pub(super) names: FastHashMap<NameKey, String>,
530530
pub(super) named_expressions: crate::NamedExpressions,
531531
/// Set of expressions that need to be baked to avoid unnecessary repetition in output
532-
pub(super) need_bake_expressions: back::NeedBakeExpressions,
532+
need_bake_expressions: back::NeedBakeExpressions,
533533
pub(super) namer: proc::Namer,
534534
pub(super) wrapped_functions: FastHashSet<WrappedFunction>,
535535
#[cfg(test)]
536-
pub(super) put_expression_stack_pointers: FastHashSet<*const ()>,
536+
put_expression_stack_pointers: FastHashSet<*const ()>,
537537
#[cfg(test)]
538-
pub(super) put_block_stack_pointers: FastHashSet<*const ()>,
538+
put_block_stack_pointers: FastHashSet<*const ()>,
539539
/// Set of (struct type, struct field index) denoting which fields require
540540
/// padding inserted **before** them (i.e. between fields at index - 1 and index)
541-
pub(super) struct_member_pads: FastHashSet<(Handle<crate::Type>, u32)>,
542-
pub(super) needs_object_memory_barriers: bool,
541+
struct_member_pads: FastHashSet<(Handle<crate::Type>, u32)>,
542+
needs_object_memory_barriers: bool,
543543
}
544544

545545
impl crate::Scalar {

0 commit comments

Comments
 (0)