[glsl-in] Fix missing implicit conversion in mix

This commit is contained in:
João Capucho 2021-08-01 18:29:46 +01:00 committed by Dzmitry Malyshau
parent fde91c1d94
commit 08302b5078

View File

@ -679,6 +679,13 @@ impl Program<'_> {
&mut selector,
selector_meta,
)?;
ctx.binary_implicit_conversion(
self,
&mut arg1,
arg1_meta,
&mut selector,
selector_meta,
)?;
let is_vector = match *self.resolve_type(ctx, selector, selector_meta)? {
TypeInner::Vector { .. } => true,