[PATCH v3 7/7] vkd3d-shader/hlsl: Allocate register reservations in a separate pass.