From 3f2b754c4252ed0bdafd355329855df92c1beecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Capucho?= Date: Tue, 6 Jul 2021 18:10:30 +0100 Subject: [PATCH] [glsl-in] Fix proxy write type mismatch --- src/front/glsl/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/glsl/functions.rs b/src/front/glsl/functions.rs index b99daa85f6..919876e6a4 100644 --- a/src/front/glsl/functions.rs +++ b/src/front/glsl/functions.rs @@ -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 }, });