Fix EmuRecompileVshDeclaration to generate declarations in the D3D9 compatible format.
Dxbx already had this at least partially working, it might be worth looking at that for some inspiration.
Resources:
D3D9 Vertex Declarations
https://docs.microsoft.com/en-us/windows/desktop/direct3d9/d3dvertexelement9
Migration Info:
https://docs.microsoft.com/en-us/windows/desktop/direct3d9/converting-to-directx-9#vertex-declaration-changes
Solved as of 8ffdc11.
Missing pieces were back-ported from Dxbx (Thanks PatrickvL)
Oops I was too hasty on this. It鈥檚 partially implemented not fixed
Yeah it's unfinished work, even in Dxbx. For more inspiration, d3d8to9 is a valuable resource too
Fixed for real this time., there may be some remaining issues, but Dashboard, JSRF, PSO, and many other titles work again with D3D9 port!
Most helpful comment
Fixed for real this time., there may be some remaining issues, but Dashboard, JSRF, PSO, and many other titles work again with D3D9 port!