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