[glsl-in] Implicit cast stores with ValuePointer

This commit is contained in:
João Capucho 2021-06-20 10:44:29 +01:00 committed by Dzmitry Malyshau
parent 68609cdff8
commit 60644504d8

View File

@ -606,6 +606,7 @@ impl<'function> Context<'function> {
TypeInner::Pointer { base, .. } => {
program.module.types[base].inner.scalar_kind()
}
TypeInner::ValuePointer { kind, .. } => Some(kind),
ref ty => ty.scalar_kind(),
};