[PATCH vkd3d 09/11] vkd3d-shader/hlsl: Add a helper to create constants of arbitrary type.