@@ -19,7 +19,7 @@ SVDescriptorHeap::SVDescriptorHeap(
1919
2020ID3D12DescriptorHeap* SVDescriptorHeap::GetDescriptorHeap () const {
2121 ComPtr<ID3D12DescriptorHeap> descriptorHeap;
22- m_Heap-> As (&descriptorHeap);
22+ m_Heap. As (&descriptorHeap);
2323 return descriptorHeap.Get ();
2424}
2525
@@ -574,8 +574,8 @@ HRESULT Device::ExecuteCommandListAndWait()
574574
575575 ID3D12CommandList* commandLists[] = { m_commandList.Get () };
576576 if (m_residencyManager != nullptr ){
577- gpgmm::d3d12::ResidencySet* residencySets [] = { &m_residencySet };
578- m_residencyManager->ExecuteCommandLists (m_commandQueue.Get (), commandLists, residencySets , ARRAYSIZE (commandLists));
577+ gpgmm::d3d12::ResidencyList* residencyLists [] = { &m_residencyList };
578+ m_residencyManager->ExecuteCommandLists (m_commandQueue.Get (), commandLists, residencyLists , ARRAYSIZE (commandLists));
579579 } else {
580580 m_commandQueue->ExecuteCommandLists (ARRAYSIZE (commandLists), commandLists);
581581 }
@@ -584,7 +584,7 @@ HRESULT Device::ExecuteCommandListAndWait()
584584
585585 ReturnIfFailed (m_commandAllocator->Reset ());
586586 ReturnIfFailed (m_commandList->Reset (m_commandAllocator.Get (), nullptr ));
587- ReturnIfFailed (m_residencySet .Reset ());
587+ ReturnIfFailed (m_residencyList .Reset ());
588588 return S_OK ;
589589}
590590
@@ -633,7 +633,7 @@ HRESULT Device::EnsureCpuBufferSize(uint64_t requestedSizeInBytes, _Inout_ ComPt
633633 ReturnIfFailed (CreateCpuCustomBuffer (m_resourceAllocator.Get (), newSize, buffer));
634634 }
635635
636- UpdateResidencyIfNeeded (buffer.Get (), &m_residencySet );
636+ UpdateResidencyIfNeeded (buffer.Get (), &m_residencyList );
637637
638638 return S_OK ;
639639}
@@ -650,7 +650,7 @@ HRESULT Device::EnsureDefaultBufferSize(uint64_t requestedSizeInBytes, _Inout_ C
650650 ReturnIfFailed (CreateDefaultBuffer (m_resourceAllocator.Get (), newSize, buffer));
651651 }
652652
653- UpdateResidencyIfNeeded (buffer.Get (), &m_residencySet );
653+ UpdateResidencyIfNeeded (buffer.Get (), &m_residencyList );
654654
655655 return S_OK ;
656656}
@@ -709,7 +709,7 @@ HRESULT Device::EnsureReadBackHeapSize(uint64_t requestedSizeInBytes)
709709 ReturnIfFailed (CreateReadBackBuffer (m_resourceAllocator.Get (), newSize, m_readbackHeap));
710710 }
711711
712- UpdateResidencyIfNeeded (m_readbackHeap.Get (), &m_residencySet );
712+ UpdateResidencyIfNeeded (m_readbackHeap.Get (), &m_residencyList );
713713
714714 return S_OK ;
715715}
0 commit comments