On Mon Oct 30 15:01:52 2023 +0000, Conor McCarthy wrote:
This register is copied and used for cbuffer loads, where the third index is set. It's not used anywhere else. For this commit the comment should only say loads, so I fixed that.
The part that keeps me a bit hesitant is that the generated `VKD3DSPR_CONSTBUFFER` register is being different than TPF, while I would strive for VSIR to be as uniform as possible across different backends and frontends. In my understanding, for TPF the two registers are the constant buffer descriptor id and the index inside the constant buffer itself. What does the additional index in DXIL mean?