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

This commit is contained in:
Erich Gubler 2025-04-30 15:43:17 -04:00
parent 77def411c4
commit 3c0803d1cc

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,