mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 23:04:07 +00:00
[glsl-out] Write sint array size
This commit is contained in:
parent
4ef754bb9d
commit
10a3a6a827
@ -604,6 +604,10 @@ impl<'a, W: Write> Writer<'a, W> {
|
||||
width: _,
|
||||
value: crate::ScalarValue::Uint(size),
|
||||
} => write!(self.out, "{}", size)?,
|
||||
crate::ConstantInner::Scalar {
|
||||
width: _,
|
||||
value: crate::ScalarValue::Sint(size),
|
||||
} => write!(self.out, "{}", size)?,
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user