[PATCH vkd3d v2 2/9] vkd3d-shader/hlsl: Check types when folding constants.