[PATCH v6 2/9] vkd3d-shader/tpf: Allow passing NULL register type on hlsl_sm4_register_from_semantic().