From 7a7553e01b8fd13d60bba495a9245349f62bba7a Mon Sep 17 00:00:00 2001 From: "Bernhart, Bryan" Date: Fri, 1 Dec 2023 10:38:47 -0800 Subject: [PATCH] Remove DebugName from RESOURCE_RESOURCE_ALLOCATION_DESC. --- src/gpgmm/d3d12/JSONSerializerD3D12.cpp | 3 --- src/gpgmm/d3d12/ResourceAllocationD3D12.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/gpgmm/d3d12/JSONSerializerD3D12.cpp b/src/gpgmm/d3d12/JSONSerializerD3D12.cpp index 6264007f..cda24e26 100644 --- a/src/gpgmm/d3d12/JSONSerializerD3D12.cpp +++ b/src/gpgmm/d3d12/JSONSerializerD3D12.cpp @@ -181,9 +181,6 @@ namespace gpgmm::d3d12 { dict.AddItem("HeapOffset", desc.HeapOffset); dict.AddItem("OffsetFromResource", desc.OffsetFromResource); dict.AddItem("Method", static_cast(desc.Type)); - if (desc.DebugName != nullptr) { - dict.AddItem("DebugName", WCharToUTF8(desc.DebugName)); - } return dict; } diff --git a/src/gpgmm/d3d12/ResourceAllocationD3D12.h b/src/gpgmm/d3d12/ResourceAllocationD3D12.h index f4549865..9bd934a3 100644 --- a/src/gpgmm/d3d12/ResourceAllocationD3D12.h +++ b/src/gpgmm/d3d12/ResourceAllocationD3D12.h @@ -23,8 +23,6 @@ namespace gpgmm::d3d12 { - class ResourceAllocationTrackingAllocator; - class ResidencyManager; class ResourceAllocator; class ResidencyHeap; @@ -33,7 +31,6 @@ namespace gpgmm::d3d12 { uint64_t HeapOffset; uint64_t OffsetFromResource; RESOURCE_ALLOCATION_TYPE Type; - LPCWSTR DebugName; }; class ResourceAllocation final : public MemoryAllocationBase,