[PATCH v7 11/13] vkd3d-shader/ir: Validate register types.