moltenvk/MoltenVKShaderConverter/MoltenVKSPIRVToMSLConverter
Chip Davis 18fa43994f Force signedness of shader vertex attributes to match the host.
Based on a patch by Stefan Dösinger.

Metal cannot do signedness conversion on vertex attributes, and for good
reason. Putting a `uint4` into an `int4`, or a `char4` into a `uint4`,
would lose those values that are outside the range of the target type.
But putting a `uchar4` into a `short4` or an `int4`, or a `ushort4` into
an `int4`, should work. In that case, force the signedness in the shader
to match the declared type of the host.

Update SPIRV-Cross to pull in the corresponding change. Bump MoltenVK
version.
2018-12-04 15:04:10 -06:00
..
2018-01-31 16:57:59 -05:00
2018-01-31 16:57:59 -05:00
iOS
2017-11-17 11:14:29 -05:00
2017-11-17 11:14:29 -05:00