From 1bef1757e937d6ae407e6c7283a4d718c1922991 Mon Sep 17 00:00:00 2001 From: Bryan Bernhart Date: Wed, 21 Sep 2022 13:38:16 -0700 Subject: [PATCH] Fix comment in Heap::CreateHeap. --- src/gpgmm/d3d12/HeapD3D12.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gpgmm/d3d12/HeapD3D12.cpp b/src/gpgmm/d3d12/HeapD3D12.cpp index 4f5ee2812..e2b361fc9 100644 --- a/src/gpgmm/d3d12/HeapD3D12.cpp +++ b/src/gpgmm/d3d12/HeapD3D12.cpp @@ -95,8 +95,7 @@ namespace gpgmm::d3d12 { // Only heap types that are known to be created resident are eligable for evicition and // should be always inserted in the residency cache. For other heap types (eg. // descriptor heap), they must be manually locked and unlocked to be inserted into the - // residency cache. This is to ensure MakeResident is always called on heaps which are - // not known (or guarenteed) to be created implicitly resident by D3D12. + // residency cache. if (heap->mState != RESIDENCY_UNKNOWN) { ReturnIfFailed(pResidencyManager->InsertHeap(heap.get())); }