mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Set is_scoped to false when evaluating a swizzle subexpression (#761)
This commit is contained in:
@@ -651,7 +651,7 @@ impl<W: Write> Writer<W> {
|
||||
vector,
|
||||
pattern,
|
||||
} => {
|
||||
self.put_expression(vector, context, is_scoped)?;
|
||||
self.put_expression(vector, context, false)?;
|
||||
write!(self.out, ".")?;
|
||||
for &sc in pattern[..size as usize].iter() {
|
||||
write!(self.out, "{}", COMPONENTS[sc as usize])?;
|
||||
|
||||
Reference in New Issue
Block a user