On Tue Feb 28 00:18:58 2023 +0000, Zebediah Figura wrote:
Haven't thought this through all the way, but could we add another field to struct hlsl_reg_reservation?
I am afraid I would need clarification of what field and what for.
But if you mean reusing the same `struct hlsl_reg_reservation` value for both `register(·)` and `packoffset(·)` and adding a `bool` to distinguish, I don't think it is a good idea since, like in the example in the MR description, both can be present at the same time, even if both are not used in the end.