D3D12DDI_RANGED_BARRIER_0088 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

typedef struct D3D12DDI_RANGED_BARRIER_0088 {
  D3D12DDI_BARRIER_SYNC                   SyncBefore;
  D3D12DDI_BARRIER_SYNC                   SyncAfter;
  D3D12DDI_BARRIER_ACCESS                 AccessBefore;
  D3D12DDI_BARRIER_ACCESS                 AccessAfter;
  D3D12DDI_RANGED_BARRIER_FLAGS           Flags;
  D3D12DDI_HRESOURCE                      hResource;
  D3D12DDI_BARRIER_SUBRESOURCE_RANGE_0088 Subresources;
  D3D12DDI_RANGE                          Range;
} D3D12DDI_RANGED_BARRIER_0088;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d12umddi-d3d12ddi_ranged_barrier_0088)

Description

The D3D12DDI_RANGED_BARRIER_0088 structure describes a resource ranged barrier. This structure replaces the legacy D3D12DDI_RESOURCE_RANGED_BARRIER_0022 structure.

Members

SyncBefore

A D3D12DDI_BARRIER_SYNC value that specifies the synchronization scope of all preceding GPU work that must be completed before executing the barrier.

SyncAfter

A D3D12DDI_BARRIER_SYNC value that specifies the synchronization scope of all subsequent GPU work that must wait until the barrier execution is finished.

AccessBefore

A D3D12DDI_BARRIER_ACCESS value that specifies the write accesses that must be flushed and finished before the barrier is executed.

AccessAfter

A D3D12DDI_BARRIER_ACCESS value that specifies the accesses that must be available for data written via AccessBefore after the barrier is executed.

Flags

A D3D12DDI_RANGED_BARRIER_FLAGS value that specifies flags for the ranged barrier.

hResource

The handle of the resource using the barrier. A NULL value means that the entire GPU cache must be flushed or invalidated. A non-NULL value means that the flush or invalidate action affects a smaller subset of the cache that can contain data for that resource.

Subresources

A D3D12DDI_BARRIER_SUBRESOURCE_RANGE_0088 structure that specifies the range of subresources being barriered.

Range

A D3D12DDI_RANGE structure that describes a memory range.

Remarks

Enhanced barriers fully deprecate the legacy ResourceBarrier DDIs. This includes the ranged barriers used internally by AtomicCopy commands.

See Enhanced Barriers for general information.

See also

D3D12DDI_BARRIER_ACCESS

D3D12DDI_BARRIER_SYNC

D3D12DDI_RANGE

D3D12DDIARG_BARRIER_0088

PFND3D12DDI_BARRIER_0088