mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Added barrier to DX12 overlay.
Gears5 seems to have a problem with the overlay. While loading and in the main menu, it works fine, but if you press enter, it crashes saying the GPU is not responding. Can't debug it with CODEX, it checks for a debugger. Works fine on sniper elite5.
This commit is contained in:
parent
695954e13a
commit
547cbdbb4e
2 changed files with 35 additions and 14 deletions
|
|
@ -22,11 +22,12 @@ private:
|
|||
|
||||
ID3D12CommandQueue* pCmdQueue;
|
||||
UINT bufferCount;
|
||||
D3D12_CPU_DESCRIPTOR_HANDLE* pMainRenderTargets;
|
||||
std::vector<D3D12_CPU_DESCRIPTOR_HANDLE> mainRenderTargets;
|
||||
ID3D12CommandAllocator** pCmdAlloc;
|
||||
ID3D12DescriptorHeap* pSrvDescHeap;
|
||||
ID3D12GraphicsCommandList* pCmdList;
|
||||
ID3D12DescriptorHeap* pRtvDescHeap;
|
||||
ID3D12Resource** pBackBuffer;
|
||||
|
||||
// Functions
|
||||
DX12_Hook();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue