[glsl-in] Fix proxy write type mismatch

This commit is contained in:
João Capucho
2021-07-06 18:10:30 +01:00
committed by Dzmitry Malyshau
parent ba75ca6efe
commit 3f2b754c42

View File

@@ -795,7 +795,7 @@ impl Program<'_> {
Expression::Swizzle { .. }
)
{
let ty = self.module.types.append(Type {
let ty = self.module.types.fetch_or_append(Type {
name: None,
inner: TypeInner::Vector { size, kind, width },
});