[PATCH vkd3d v2 6/9] vkd3d-shader/hlsl: Add a helper to create constants of arbitrary type.