Skip to content

Commit bb554c9

Browse files
refactor(wgsl-in): make Scalar::concretize pub(in crate::front::wgsl)
1 parent 50eb207 commit bb554c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

naga/src/front/wgsl/lower/conversion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ impl crate::Scalar {
449449
self.automatic_conversion_combine(goal) == Some(goal)
450450
}
451451

452-
const fn concretize(self) -> Self {
452+
pub(in crate::front::wgsl) const fn concretize(self) -> Self {
453453
use crate::ScalarKind as Sk;
454454
match self.kind {
455455
Sk::Sint | Sk::Uint | Sk::Float | Sk::Bool => self,

0 commit comments

Comments
 (0)