mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
d3d12: Move d3d12 files to separate solution.
It simplify solution configurations.
This commit is contained in:
parent
77bf86eaa5
commit
a462b4518c
68 changed files with 85737 additions and 367 deletions
|
|
@ -22,6 +22,12 @@
|
|||
#include "Emu/Io/XInput/XInputPadHandler.h"
|
||||
#endif
|
||||
|
||||
#include "Emu/RSX/Null/NullGSRender.h"
|
||||
#include "Emu/RSX/GL/GLGSRender.h"
|
||||
#if defined(DX12_SUPPORT)
|
||||
#include "Emu/RSX/D3D12/D3D12GSRender.h"
|
||||
#endif
|
||||
|
||||
#include "Gui/MsgDialog.h"
|
||||
#include "Gui/SaveDataDialog.h"
|
||||
|
||||
|
|
@ -222,3 +228,16 @@ Rpcs3App::Rpcs3App()
|
|||
}
|
||||
|
||||
GameInfo CurGameInfo;
|
||||
|
||||
GSRender * createGSRender(u8 id)
|
||||
{
|
||||
switch (id)
|
||||
{
|
||||
default:
|
||||
case 0: return new NullGSRender(); break;
|
||||
case 1: return new GLGSRender(); break;
|
||||
#if defined(DX12_SUPPORT)
|
||||
case 2: return new D3D12GSRender(); break;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue