Skip to content

Commit 140d837

Browse files
refactor(wgsl-in): make Scalar::concretize pub(in crate::front::wgsl)
1 parent fd6f16f commit 140d837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)