Bewerken

Delen via


DXGK_NATIVE_FENCE_LOG_HEADER structure (d3dukmdt.h)

The DXGK_NATIVE_FENCE_LOG_HEADER structure contains the header information for the native fence log buffer.

Syntax

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;

Members

FirstFreeEntryIndex

Index of the first free entry in the log. FirstFreeEntryIndex is the same value as the LowPart of AtomicWraparoundAndEntryIndex.

WraparoundCount

The number of times the log entries have wrapped around. Same value as the HighPart of AtomicWraparoundAndEntryIndex.

AtomicWraparoundAndEntryIndex

A 64-bit integer that contains the FirstFreeEntryIndex in the LowPart and the WraparoundCount in the HighPart.

Type

A DXGK_NATIVE_FENCE_LOG_TYPE enumeration that specifies the type of the native fence log entries.

NumberOfEntries

Number of DXGK_NATIVE_FENCE_LOG_ENTRY structures in the Entries array of the native fence log buffer.

Reserved[2]

Reserved for system use.

Remarks

For more information about native GPU fences and log buffer usage, see Native GPU fence objects.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header d3dukmdt.h

See also

DXGK_NATIVE_FENCE_LOG_BUFFER

DXGK_NATIVE_FENCE_LOG_ENTRY

DXGK_NATIVE_FENCE_LOG_TYPE

DxgkDdiSetNativeFenceLogBuffer