Skip to content

Commit

Permalink
Fix comment in Heap::CreateHeap.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbernhar committed Sep 21, 2022
1 parent b58b417 commit 1bef175
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gpgmm/d3d12/HeapD3D12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down

0 comments on commit 1bef175

Please sign in to comment.