[glsl-out] Write sint array size

This commit is contained in:
Igor Shaposhnik 2021-07-16 12:32:09 +00:00 committed by Dzmitry Malyshau
parent 4ef754bb9d
commit 10a3a6a827

View File

@ -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!(),
}
}