[PATCH v6 4/7] vkd3d-shader/tpf: Validate input/output registers.