mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 00:41:07 +01:00
refactor(wgsl-in): make Scalar::concretize pub(in crate::front::wgsl)
This commit is contained in:
1 parent
77def411c4
commit
3c0803d1cc
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user