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