mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 17:01:15 +01:00
Move the growable typifier into frontend helpers
This commit is contained in:
1 parent
d4bc463d50
commit
6086f13bf0
9 files changed
+111
-165
No files matched your search
@@ -499,9 +499,8 @@ impl FunctionInfo {
|
||||
},
|
||||
};
|
||||
|
||||
let ty = TypeResolution::new(expression, type_arena, resolve_context, |h| {
|
||||
&self.expressions[h.index()].ty
|
||||
})?;
|
||||
let ty =
|
||||
resolve_context.resolve(expression, type_arena, |h| &self.expressions[h.index()].ty)?;
|
||||
self.expressions[handle.index()] = ExpressionInfo {
|
||||
uniformity,
|
||||
ref_count: 0,
|
||||
|
||||
Reference in new issue
Block a user