// d3d12umddi.h
PFND3D12DDI_BARRIER_0094 Pfnd3d12ddiBarrier0094;
VOID Pfnd3d12ddiBarrier0094(
D3D12DDI_HCOMMANDLIST hDrvCommandList,
UINT32 NumBarriers,
const D3D12DDIARG_BARRIER_0094 *pBarriers
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A driver's PFND3D12DDI_BARRIER_0094 (pfnBarrier) callback function synchronizes multiple accesses to resources. This callback supports enhanced barriers.
hDrvCommandListA handle to the driver's data for the command list. The driver uses this region of memory to store internal data structures that are related to its command list.
NumBarriersThe number of D3D12DDIARG_BARRIER_0094 structures that pBarriers points to.
pBarriersPointer to an array of D3D12DDIARG_BARRIER_0094 structures that contain the enhanced barriers. The array size is specified by NumBarriers.
Drivers that report support for enhanced barriers must implement this function. How drivers implement the function is up to the hardware vendor, as long as they meet the design specifications and pass all related conformance tests.
A driver supporting enhanced barriers must expect that legacy ResourceBarrier calls will also use the pfnBarrier function. The legacy PFND3D12DDI_RESOURCEBARRIER_* (pfnResourceBarrier) table entry can be left as NULL.
Access pfnBarrier by using a command list functions structure such as D3D12DDI_COMMAND_LIST_FUNCS_3D_0094.
See Enhanced Barriers for general information.
D3D12DDI_COMMAND_LIST_FUNCS_3D_0094
D3D12DDI_COMMAND_LIST_FUNCS_VIDEO_DECODE_0088
D3D12DDI_COMMAND_LIST_FUNCS_VIDEO_ENCODE_0088
D3D12DDI_COMMAND_LIST_FUNCS_VIDEO_PROCESS_0088
D3D12DDI_D3D12_OPTIONS_DATA_0089