Skip to content

Commit 1bef175

Browse files
committed
Fix comment in Heap::CreateHeap.
1 parent b58b417 commit 1bef175

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/gpgmm/d3d12/HeapD3D12.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ namespace gpgmm::d3d12 {
9595
// Only heap types that are known to be created resident are eligable for evicition and
9696
// should be always inserted in the residency cache. For other heap types (eg.
9797
// descriptor heap), they must be manually locked and unlocked to be inserted into the
98-
// residency cache. This is to ensure MakeResident is always called on heaps which are
99-
// not known (or guarenteed) to be created implicitly resident by D3D12.
98+
// residency cache.
10099
if (heap->mState != RESIDENCY_UNKNOWN) {
101100
ReturnIfFailed(pResidencyManager->InsertHeap(heap.get()));
102101
}

0 commit comments

Comments
 (0)