D3D12DDI_COMMAND_QUEUE_FLAGS enumeration (d3d12umddi.h)
The D3D12DDI_COMMAND_QUEUE_FLAGS enumeration contains values for the command queue.
Syntax
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
} ;
Constants
D3D12DDI_COMMAND_QUEUE_FLAG_NONE Value: 0x00000000 No flags. |
D3D12DDI_COMMAND_QUEUE_FLAG_3D Value: 0x00000001 3D. |
D3D12DDI_COMMAND_QUEUE_FLAG_COMPUTE Value: 0x00000002 Compute. |
D3D12DDI_COMMAND_QUEUE_FLAG_COPY Value: 0x00000004 Copy. |
D3D12DDI_COMMAND_QUEUE_FLAG_PAGING Value: 0x00000008 Paging. |
D3D12DDI_COMMAND_QUEUE_FLAG_0020_VIDEO_LEGACY Value: 0x00000010 Deprecated; do not use. |
D3D12DDI_COMMAND_QUEUE_FLAG_0022_VIDEO_DECODE Value: 0x00000010 Decode video. |
D3D12DDI_COMMAND_QUEUE_FLAG_0022_VIDEO_PROCESS Value: 0x00000020 Process video. |
D3D12DDI_COMMAND_QUEUE_FLAG_0053_VIDEO_ENCODE Value: 0x00000040 Video encode. |
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.
Requirements
Requirement | Value |
---|---|
Header | d3d12umddi.h (include D3d12umddi.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for