Giovanni Mascellani : vkd3d-shader/hlsl: Check types when folding constants.