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