Ensure value_unsigned is within valid range 16- and 8-bit values are stored in a 32-bit word. The specification does not say anyting about the unused high order bits, so we clear them just to be sure we get a value within the valid range for the type.
Ensure value_unsigned is within valid range
16- and 8-bit values are stored in a 32-bit word. The specification
does not say anyting about the unused high order bits, so we clear
them just to be sure we get a value within the valid range for the
type.

kristerw/spirv-tools