mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-27 09:14:01 +00:00
[glsl-in] Fix missing implicit conversion in mix
This commit is contained in:
parent
fde91c1d94
commit
08302b5078
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user