[PATCH vkd3d 1/6] vkd3d-shader: Add get_type_id() helper functions.