DXGKARG_VALIDATESUBMITCOMMAND structure (d3dkmddi.h)

Arguments used in the call to DXGKDDI_VALIDATESUBMITCOMMAND.

Syntax

typedef struct _DXGKARG_VALIDATESUBMITCOMMAND {
  D3DGPU_VIRTUAL_ADDRESS          Commands;
  UINT                            CommandLength;
  DXGK_VALIDATESUBMITCOMMANDFLAGS Flags;
  UINT                            ContextCount;
  HANDLE                          Context[D3DDDI_MAX_BROADCAST_CONTEXT];
  VOID                            *pPrivateDriverData;
  UINT                            PrivateDriverDataSize;
  UINT                            UmdPrivateDataSize;
  UINT64                          HwQueueProgressFenceId;
} DXGKARG_VALIDATESUBMITCOMMAND;

Members

Commands

GPU virtual address of the command buffer.

CommandLength

Command length.

Flags

HardwareQueueSubmission is set to TRUE when DXGKDDI_VALIDATESUBMITCOMMAND is called from DxgkDdiSubmitCommandToHwQueue. Otherwise, it is called from D3DKMTSubmitCommand.

ContextCount

Number of valid handles in the Context array.

Context

Array of driver context handles when Flags.HardwareQueueSubmission is 0. An array of driver hardware queue handles when Flags.HardwareQueueSubmission is 1.

pPrivateDriverData

Pointer to the private data, passed to D3DKMTSubmitCommand. This a copy of the buffer and the pointer is kernel mode.

PrivateDriverDataSize

The total size in bytes of the private data buffer.

UmdPrivateDataSize

Portion of the private data buffer in bytes, passed from user mode.

The portion of the buffer, which is not passed from user mode, is not initialized. The kernel mode driver could use this portion to store its own data, which can be consumed in DxgkDdiSubmitCommandVirtual.

HwQueueProgressFenceId

Valid only when Flags.HardwareQueueSubmission is set.

Requirements

   
Minimum supported client Windows 10, version 1809
Header d3dkmddi.h