[PATCH v5 2/4] vkd3d-shader/hlsl: Move index_instructions() up.