Skip to content
Merged
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
7 changes: 4 additions & 3 deletions include/gpgmm_d3d12.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@

#define GPGMM_INTERFACE struct

namespace gpgmm {
DEFINE_ENUM_FLAG_OPERATORS(EventRecordFlags) // Provided by <windows.h>
}

namespace gpgmm::d3d12 {

/** \brief Debug object associates additional information for D3D objects using SetPrivateData.
Expand Down Expand Up @@ -276,11 +280,8 @@ namespace gpgmm::d3d12 {
virtual HRESULT Reset() = 0;
};

using EVENT_RECORD_FLAGS = EventRecordFlags;
using EVENT_RECORD_OPTIONS = EventRecordOptions;

DEFINE_ENUM_FLAG_OPERATORS(EVENT_RECORD_FLAGS)

/** \brief Create a residency list or collection of heaps to manage together for residency.

@param[out] ppResidencyListOut An optional pointer to a memory block that receives the
Expand Down