On Tue Oct 31 13:54:10 2023 +0000, Conor McCarthy wrote:
In TPF a `VKD3DSPR_CONSTBUFFER` source register has range id, descriptor index, and buffer offset. DXIL has no registers, so this info is split in two. CreateHandle supplies the range id and descriptor index, while CBufferLoadLegacy supplies the offset. So we build the register in two separate steps.
Ah, I think I understand now. I guess that's what does the change for TPF, right? https://gitlab.winehq.org/wine/vkd3d/-/blob/master/libs/vkd3d-shader/tpf.c#L...