[PATCH vkd3d 5/5] vkd3d-shader/hlsl: Separate an add_constructor() helper.