We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58b417 commit 1bef175Copy full SHA for 1bef175
src/gpgmm/d3d12/HeapD3D12.cpp
@@ -95,8 +95,7 @@ namespace gpgmm::d3d12 {
95
// Only heap types that are known to be created resident are eligable for evicition and
96
// should be always inserted in the residency cache. For other heap types (eg.
97
// 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.
+ // residency cache.
100
if (heap->mState != RESIDENCY_UNKNOWN) {
101
ReturnIfFailed(pResidencyManager->InsertHeap(heap.get()));
102
}
0 commit comments