[PATCH v6 2/3] vkd3d-shader/dxil: Move the resource kind helper functions up.