[PATCH v6 09/11] vkd3d-shader/ir: Validate register types.