Cxbx-reloaded: D3D9 Port: Fix vertex declarations

Created on 31 Jul 2018  路  4Comments  路  Source: Cxbx-Reloaded/Cxbx-Reloaded

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

https://docs.microsoft.com/en-us/windows/desktop/direct3d9/mapping-between-a-directx-9-declaration-and-directx-8

HLE graphics

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!

All 4 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PatrickvL picture PatrickvL  路  3Comments

PatrickvL picture PatrickvL  路  3Comments

childishbeat picture childishbeat  路  4Comments

LukeUsher picture LukeUsher  路  4Comments

gandalfthewhite19890404 picture gandalfthewhite19890404  路  4Comments