On Sun Jun 9 17:07:40 2024 +0000, Matteo Bruni wrote:
200 lines aren't a ton, but it's more about not needing to duplicate all the changes / fixes to come, and eventually forgetting to update one side.
True.
One thing we could also consider is using the vkd3d-utils implementation (and adding a vkd3d-utils implementation for d3dx9, which could share code). I think the main blocker there is that we can't have version-dependent behaviour, but we could add a separate export like "D3DCompileVKD3D()" for that.