mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[glsl-in] Fix proxy write type mismatch
This commit is contained in:
committed by
Dzmitry Malyshau
parent
ba75ca6efe
commit
3f2b754c42
@@ -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 },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user