DXGKARG_VALIDATESUBMITCOMMAND - NtDoc

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

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-_dxgkarg_validatesubmitcommand)

DXGKARG_VALIDATESUBMITCOMMAND structure

Description

The DXGKARG_VALIDATESUBMITCOMMAND structure contains arguments used in the call to DXGKDDI_VALIDATESUBMITCOMMAND.

Members

Commands

[in] The GPU virtual address of the start of the command buffer.

CommandLength

[in] Length of the command buffer, in bytes.

Flags

[in] A DXGK_VALIDATESUBMITCOMMANDFLAGS value with flags needed to validate the submit command.

ContextCount

[in] Number of valid handles in the Context array.

Context

[in] Array of handles to the contexts associated with Commands. The handle type is determined as follows.

pPrivateDriverData

[in/out,optional] Pointer to the private data that was passed to D3DKMTSubmitCommand. This a copy of the buffer and the pointer is a kernel-mode pointer. See Remarks.

PrivateDriverDataSize

[in] The total size in bytes of the private data buffer.

UmdPrivateDataSize

[in] Number of bytes of the private data buffer passed from user mode. See Remarks.

HwQueueProgressFenceId

[in] Identifier that represents the hardware queue progress fence. The driver should use this identifier to ensure that the command buffer has not previously been executed by the GPU when Flags.HardwareQueueSubmission is set.

Remarks

The portion of pPrivateDriverData's buffer that is not passed from user mode is uninitialized. The kernel-mode driver can use this portion to store its own data, which can be consumed in DxgkDdiSubmitCommandVirtual.

See also

D3DKMTSubmitCommand

DXGKDDI_VALIDATESUBMITCOMMAND.