// d3dukmdt.h
typedef struct _DXGK_NATIVE_FENCE_LOG_HEADER {
union {
struct {
UINT32 FirstFreeEntryIndex;
UINT32 WraparoundCount;
};
ULARGE_INTEGER AtomicWraparoundAndEntryIndex;
};
DXGK_NATIVE_FENCE_LOG_TYPE Type;
UINT64 NumberOfEntries;
UINT64 Reserved[2];
} DXGK_NATIVE_FENCE_LOG_HEADER;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_NATIVE_FENCE_LOG_HEADER structure contains the header information for the native fence log buffer.
FirstFreeEntryIndexIndex of the first free entry in the log. FirstFreeEntryIndex is the same value as the LowPart of AtomicWraparoundAndEntryIndex.
WraparoundCountThe number of times the log entries have wrapped around. Same value as the HighPart of AtomicWraparoundAndEntryIndex.
AtomicWraparoundAndEntryIndexA 64-bit integer that contains the FirstFreeEntryIndex in the LowPart and the WraparoundCount in the HighPart.
TypeA DXGK_NATIVE_FENCE_LOG_TYPE enumeration that specifies the type of the native fence log entries.
NumberOfEntriesNumber of DXGK_NATIVE_FENCE_LOG_ENTRY structures in the Entries array of the native fence log buffer.
Reserved[2]Reserved for system use.
For more information about native GPU fences and log buffer usage, see Native GPU fence objects.
DxgkDdiSetNativeFenceLogBuffer