Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions include/gpgmm_d3d12.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,12 @@ namespace gpgmm::d3d12 {
*/
uint64_t Alignment;

/** \brief Check if the heap currently locked for residency.
*/
bool IsLocked;
/** \brief Check if the heap is currently locked for residency.

A locked heap means the heap is not eligable for eviction.

/** \brief Check if the heap is in a residency cache.
*/
bool IsCachedForResidency;
bool IsLocked;

/** \brief Check if the heap was made resident or not.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gpgmm/d3d12/ResidencyHeapD3D12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ namespace gpgmm::d3d12 {
}

RESIDENCY_HEAP_INFO ResidencyHeap::GetInfo() const {
return {GetSize(), GetAlignment(), IsResidencyLocked(), IsInList(), mState};
return {GetSize(), GetAlignment(), IsResidencyLocked(), mState};
}

HRESULT ResidencyHeap::SetDebugNameImpl(LPCWSTR name) {
Expand Down
2 changes: 1 addition & 1 deletion src/mvi/gpgmm_d3d12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ namespace gpgmm::d3d12 {
}

RESIDENCY_HEAP_INFO ResidencyHeap::GetInfo() const {
return {GetSize(), GetAlignment(), false, false, RESIDENCY_HEAP_STATUS_UNKNOWN};
return {GetSize(), GetAlignment(), false, RESIDENCY_HEAP_STATUS_UNKNOWN};
}

HRESULT STDMETHODCALLTYPE ResidencyHeap::QueryInterface(REFIID riid, void** ppvObject) {
Expand Down