mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
refactor(wgsl-in): make Scalar::concretize pub(in crate::front::wgsl)
This commit is contained in:
parent
77def411c4
commit
3c0803d1cc
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user