[glsl-in] Fix proxy write type mismatch

This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-07-07 12:59:20 -04:00
1 parent ba75ca6efe
commit 3f2b754c42
1 file changed
+1 -1
+1 -1
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 },
});