Skip to content

Commit

Permalink
Remove DebugName from RESOURCE_RESOURCE_ALLOCATION_DESC.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbernhar committed Dec 1, 2023
1 parent dd5f838 commit 7a7553e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/gpgmm/d3d12/JSONSerializerD3D12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,6 @@ namespace gpgmm::d3d12 {
dict.AddItem("HeapOffset", desc.HeapOffset);
dict.AddItem("OffsetFromResource", desc.OffsetFromResource);
dict.AddItem("Method", static_cast<uint32_t>(desc.Type));
if (desc.DebugName != nullptr) {
dict.AddItem("DebugName", WCharToUTF8(desc.DebugName));
}
return dict;
}

Expand Down
3 changes: 0 additions & 3 deletions src/gpgmm/d3d12/ResourceAllocationD3D12.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

namespace gpgmm::d3d12 {

class ResourceAllocationTrackingAllocator;
class ResidencyManager;
class ResourceAllocator;
class ResidencyHeap;

Expand All @@ -33,7 +31,6 @@ namespace gpgmm::d3d12 {
uint64_t HeapOffset;
uint64_t OffsetFromResource;
RESOURCE_ALLOCATION_TYPE Type;
LPCWSTR DebugName;
};

class ResourceAllocation final : public MemoryAllocationBase,
Expand Down

0 comments on commit 7a7553e

Please sign in to comment.