Skip to content

Commit

Permalink
Merge pull request microsoft#785 from bdumesnil/ResidencyFix
Browse files Browse the repository at this point in the history
Fix EnqueueMakeResident not using the same parameters as MakeResident
  • Loading branch information
jenatali authored May 25, 2022
2 parents 164b072 + 6fe9e09 commit fe83c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/D3DX12Residency/d3dx12Residency.h
Original file line number Diff line number Diff line change
Expand Up @@ -1296,8 +1296,8 @@ namespace D3DX12Residency
if (Device3)
{
hr = Device3->EnqueueMakeResident(D3D12_RESIDENCY_FLAG_NONE,
NumObjectsInBatch,
&pMakeResidentList[BatchStart].pUnderlying,
NumObjects,
&pMakeResidentList[MakeResidentIndex].pUnderlying,
AsyncThreadFence.pFence,
AsyncThreadFence.FenceValue + 1);
if (SUCCEEDED(hr))
Expand Down

0 comments on commit fe83c01

Please sign in to comment.