On Thu Nov 2 23:26:24 2023 +0000, Francisco Casas wrote:
It should give the same results. I think that the confusion arises because the previous path (deleted lines) called `hlsl_reg_from_deref()`, which calls `hlsl_offset_from_deref_safe()`, and then does these operations. And, OTOH, the new code calls `hlsl_offset_from_deref_safe()` directly and takes care of doing the same operations that `hlsl_reg_from_deref()` did.
You're right, I had missed that line.