On Fri Nov 3 13:11:36 2023 +0000, Giovanni Mascellani wrote:
What's the difference with the `data_type` field?
`ssa_data_type` is the type of the value declared with this ssa id, while `data_type` in source registers is the required type of the register, which may be different from the declaration, i.e. we can force a bitcast by changing `data_type`. For other register types we use `spirv_compiler_get_register_info()` to get the declaration type.