D3D12DDI_COMMAND_QUEUE_FLAGS - NtDoc

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

typedef enum D3D12DDI_COMMAND_QUEUE_FLAGS {
  D3D12DDI_COMMAND_QUEUE_FLAG_NONE = 0x00000000,
  D3D12DDI_COMMAND_QUEUE_FLAG_3D = 0x00000001,
  D3D12DDI_COMMAND_QUEUE_FLAG_COMPUTE = 0x00000002,
  D3D12DDI_COMMAND_QUEUE_FLAG_COPY = 0x00000004,
  D3D12DDI_COMMAND_QUEUE_FLAG_PAGING = 0x00000008,
  D3D12DDI_COMMAND_QUEUE_FLAG_0020_VIDEO_LEGACY = 0x00000010,
  D3D12DDI_COMMAND_QUEUE_FLAG_0022_VIDEO_DECODE = 0x00000010,
  D3D12DDI_COMMAND_QUEUE_FLAG_0022_VIDEO_PROCESS = 0x00000020,
  D3D12DDI_COMMAND_QUEUE_FLAG_0053_VIDEO_ENCODE = 0x00000040
} ;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-d3d12umddi-d3d12ddi_command_queue_flags)

D3D12DDI_COMMAND_QUEUE_FLAGS enumeration

Description

The D3D12DDI_COMMAND_QUEUE_FLAGS enumeration specifies the type of command list to use on the command queue being created.

Constants

D3D12DDI_COMMAND_QUEUE_FLAG_NONE:0x00000000

No flags are specified.

D3D12DDI_COMMAND_QUEUE_FLAG_3D:0x00000001

Indicates a command queue compatible with graphics pipelines.

D3D12DDI_COMMAND_QUEUE_FLAG_COMPUTE:0x00000002

Indicates a command queue compatible with compute pipelines.

D3D12DDI_COMMAND_QUEUE_FLAG_COPY:0x00000004

Indicates a command queue compatible with a copy engine.

D3D12DDI_COMMAND_QUEUE_FLAG_PAGING:0x00000008

Reserved; do not use.

D3D12DDI_COMMAND_QUEUE_FLAG_0020_VIDEO_LEGACY:0x00000010

Deprecated; do not use.

D3D12DDI_COMMAND_QUEUE_FLAG_0022_VIDEO_DECODE:0x00000010

Indicates a command queue compatible with video decoding.

D3D12DDI_COMMAND_QUEUE_FLAG_0022_VIDEO_PROCESS:0x00000020

Indicates a command queue compatible with video processing.

D3D12DDI_COMMAND_QUEUE_FLAG_0053_VIDEO_ENCODE:0x00000040

Indicates a command queue compatible with video encoding.

Remarks

There are separate queue types for video decode and video processing. The video decode command queue only supports submitting video decode command lists and the video process command queue only supports submitting video process command lists. Both video decode and video process share the same DDI table definition, but separate table instances are retrieved from the driver for each type, see D3D12DDI_TABLE_TYPE.

Because video decode and video processing are separate queue types, they are necessarily separate queue instances. Applications are required to synchronize between separate queue instances; therefore, drivers must not implicitly synchronize between decode and video process queues.

See also

D3D12DDI_D3D12_OPTIONS_DATA_0089

D3D12DDIARG_CREATECOMMANDQUEUE_0050

Pfnd3d12ddiCreatecommandqueue0050