[PATCH 3/4] vkd3d-shader/hlsl: Rewrite the register allocator to allow allocating in multiple passes.