On Mon Jun 19 13:25:33 2023 +0000, Francisco Casas wrote:
I am trying to get rid of hlsl_type_get_regset() at some point, to discourage using it and having to consider exceptions such as this. Perhaps the alternative would be making a sm1-exclusive sm1_type_get_regset() that is defined for structs, but using these `for`s also works.
Ah, yes, it makes sense. I guess it makes sense to remove the assumption that variables only span a single regset, as much as possible.