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