refactor(wgsl-in): make Scalar::concretize pub(in crate::front::wgsl)

This commit is contained in:
Erich Gubler committed 2025-06-11 21:55:02 +09:00
1 parent 77def411c4
commit 3c0803d1cc
1 file changed
+1 -1
+1 -1
View File
@@ -449,7 +449,7 @@ impl crate::Scalar {
self.automatic_conversion_combine(goal) == Some(goal)
}
const fn concretize(self) -> Self {
pub(in crate::front::wgsl) const fn concretize(self) -> Self {
use crate::ScalarKind as Sk;
match self.kind {
Sk::Sint | Sk::Uint | Sk::Float | Sk::Bool => self,