Giovanni Mascellani : vkd3d-shader/hlsl: Add a helper to create constants of arbitrary type.