D3D12DDICAPS_TYPE enumeration (d3d12umddi.h)

D3D12DDICAPS_TYPE specifies a capability type in D3D12DDIARG_GETCAPS.

Syntax

typedef enum D3D12DDICAPS_TYPE {
  D3D12DDICAPS_TYPE_TEXTURE_LAYOUT,
  D3D12DDICAPS_TYPE_SWIZZLE_PATTERN,
  D3D12DDICAPS_TYPE_MEMORY_ARCHITECTURE,
  D3D12DDICAPS_TYPE_TEXTURE_LAYOUT_SETS,
  D3D12DDICAPS_TYPE_SHADER,
  D3D12DDICAPS_TYPE_ARCHITECTURE_INFO,
  D3D12DDICAPS_TYPE_D3D12_OPTIONS,
  D3D12DDICAPS_TYPE_3DPIPELINESUPPORT,
  D3D12DDICAPS_TYPE_GPUVA_CAPS,
  D3D12DDICAPS_TYPE_TEXTURE_LAYOUT1,
  D3D12DDICAPS_TYPE_0011_SHADER_MODELS,
  D3D12DDICAPS_TYPE_0030_PROTECTED_RESOURCE_SESSION_SUPPORT,
  D3D12DDICAPS_TYPE_0030_CRYPTO_SESSION_SUPPORT,
  D3D12DDICAPS_TYPE_0022_CPU_PAGE_TABLE_FALSE_POSITIVES,
  D3D12DDICAPS_TYPE_0022_TEXTURE_LAYOUT,
  D3D12DDICAPS_TYPE_0022_SWIZZLE_PATTERN,
  D3D12DDICAPS_TYPE_0023_UMD_BASED_COMMAND_QUEUE_PRIORITY,
  D3D12DDICAPS_TYPE_0030_CONTENT_PROTECTION_SYSTEM_COUNT,
  D3D12DDICAPS_TYPE_0030_CONTENT_PROTECTION_SYSTEM_SUPPORT,
  D3D12DDICAPS_TYPE_0030_CRYPTO_SESSION_TRANSFORM_SUPPORT,
  D3D12DDICAPS_TYPE_0033_ADAPTER_COMPUTE_ONLY,
  D3D12DDICAPS_TYPE_0050_HARDWARE_SCHEDULING_CAPS,
  D3D12DDICAPS_TYPE_QUERY_META_COMMAND_CAPS_0061,
  D3D12DDICAPS_TYPE_EXECUTECOMMANDLISTS_PARALLELISM,
  D3D12DDICAPS_TYPE_SAMPLER_FEEDBACK_0073,
  D3D12DDICAPS_TYPE_0073_SUPPORT_BATCHED_MARKERS,
  D3D12DDICAPS_TYPE_0074_PROTECTED_RESOURCE_SESSION_TYPE_COUNT,
  D3D12DDICAPS_TYPE_0074_PROTECTED_RESOURCE_SESSION_TYPES,
  D3D12DDICAPS_TYPE_0081_3DPIPELINESUPPORT1,
  D3D12DDICAPS_TYPE_OPTIONS_0090,
  D3D12DDICAPS_TYPE_OPTIONS_0091,
  D3D12DDICAPS_TYPE_OPTIONS_0092
} ;

Constants

 
D3D12DDICAPS_TYPE_TEXTURE_LAYOUT
Texture layout. Deprecated. Use D3D12DDICAPS_TYPE_0022_TEXTURE_LAYOUT instead.
D3D12DDICAPS_TYPE_SWIZZLE_PATTERN
Swizzle pattern. Deprecated. Use D3D12DDICAPS_TYPE_0022_SWIZZLE_PATTERN instead.
D3D12DDICAPS_TYPE_MEMORY_ARCHITECTURE
Memory architecture.
D3D12DDICAPS_TYPE_TEXTURE_LAYOUT_SETS
Texture layout sets.
D3D12DDICAPS_TYPE_SHADER
Shader.
D3D12DDICAPS_TYPE_ARCHITECTURE_INFO
Architecture information.
D3D12DDICAPS_TYPE_D3D12_OPTIONS
Options for D3D12.
D3D12DDICAPS_TYPE_3DPIPELINESUPPORT
The driver provides 3D pipeline support. The driver reports the D3D12DDI_3DPIPELINELEVEL value that represents the maximum pipeline level that it supports. Valid returnable feature levels are 12.1 and earlier. The 3DPIPELINESUPPORT1 value is used to query for any feature level, including 12.2 and later. See Remarks.
D3D12DDICAPS_TYPE_GPUVA_CAPS
The driver supports GPU video acceleration capabilities.
D3D12DDICAPS_TYPE_TEXTURE_LAYOUT1
Texture layout. Deprecated. Use D3D12DDICAPS_TYPE_0022_TEXTURE_LAYOUT instead.
D3D12DDICAPS_TYPE_0011_SHADER_MODELS
Shader models.
D3D12DDICAPS_TYPE_0030_PROTECTED_RESOURCE_SESSION_SUPPORT
Protected resource session support.
D3D12DDICAPS_TYPE_0030_CRYPTO_SESSION_SUPPORT
Crypto session support. Deprecated. See D3D12DDICAPS_TYPE_VIDEO_0032_CRYPTO_SESSION_SUPPORT in to D3D12DDICAPS_TYPE_VIDEO_0020.
D3D12DDICAPS_TYPE_0022_CPU_PAGE_TABLE_FALSE_POSITIVES
CPU page table false positives.
D3D12DDICAPS_TYPE_0022_TEXTURE_LAYOUT
Texture layout.
D3D12DDICAPS_TYPE_0022_SWIZZLE_PATTERN
Swizzle pattern.
D3D12DDICAPS_TYPE_0023_UMD_BASED_COMMAND_QUEUE_PRIORITY
User mode driver-based command queue priority.
D3D12DDICAPS_TYPE_0030_CONTENT_PROTECTION_SYSTEM_COUNT
Content protection system count. Deprecated. See D3D12DDICAPS_TYPE_VIDEO_0032_CONTENT_PROTECTION_SYSTEM_COUNT in to D3D12DDICAPS_TYPE_VIDEO_0020.
D3D12DDICAPS_TYPE_0030_CONTENT_PROTECTION_SYSTEM_SUPPORT
Content protection system support. Deprecated. See D3D12DDICAPS_TYPE_VIDEO_0032_CONTENT_PROTECTION_SYSTEM_SUPPORT in to D3D12DDICAPS_TYPE_VIDEO_0020.
D3D12DDICAPS_TYPE_0030_CRYPTO_SESSION_TRANSFORM_SUPPORT
Crypto transform support. Deprecated. See D3D12DDICAPS_TYPE_VIDEO_0032_CRYPTO_SESSION_TRANSFORM_SUPPORT in to D3D12DDICAPS_TYPE_VIDEO_0020.
D3D12DDICAPS_TYPE_0033_ADAPTER_COMPUTE_ONLY
Adapter compute only.
D3D12DDICAPS_TYPE_0050_HARDWARE_SCHEDULING_CAPS
Hardware scheduling capabilities.
D3D12DDICAPS_TYPE_QUERY_META_COMMAND_CAPS_0061
Query meta-command capabilities.
D3D12DDICAPS_TYPE_EXECUTECOMMANDLISTS_PARALLELISM
Execute command lists in parallel.
D3D12DDICAPS_TYPE_SAMPLER_FEEDBACK_0073
Supports sampler feedback. See the Sampler Feedback Specification for more information.
D3D12DDICAPS_TYPE_0073_SUPPORT_BATCHED_MARKERS
Supports batched markers.
D3D12DDICAPS_TYPE_0074_PROTECTED_RESOURCE_SESSION_TYPE_COUNT
Supports protected resource session type count. Starting with D3D12DDI_FEATURE_VERSION_CONTENT_PROTECTION_RESOURCES_0074, this query is made if the driver reports D3D12DDI_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED via D3D12DDICAPS_TYPE_PROTECTED_RESOURCE_SESSION_SUPPORT. The driver must report at least 1 GUID for D3D12DDI_PROTECTED_RESOURCES_SESSION_HARDWARE_PROTECTED. See the Protected Resources Specification for more information.
D3D12DDICAPS_TYPE_0074_PROTECTED_RESOURCE_SESSION_TYPES
Supports protected resource session types. Starting with D3D12DDI_FEATURE_VERSION_CONTENT_PROTECTION_RESOURCES_0074, this query is made if the driver reports D3D12DDI_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED via D3D12DDICAPS_TYPE_PROTECTED_RESOURCE_SESSION_SUPPORT. The driver must report D3D12DDI_PROTECTED_RESOURCES_SESSION_HARDWARE_PROTECTED. Allowed GUIDS are controlled via an allow list and additional GUIDS require approval from Microsoft. See the Protected Resources Specification for more information.
D3D12DDICAPS_TYPE_0081_3DPIPELINESUPPORT1
Support for 3D pipeline; pData points to a D3D12DDI_3DPIPELINESUPPORT1_DATA_0081 structure. The driver reports the D3D12DDI_3DPIPELINELEVEL value that represents the maximum feature level that it supports in the MaximumDriverSupportedFeatureLevel field. See Remarks.
D3D12DDICAPS_TYPE_OPTIONS_0090
The driver should indicate support for capabilities in the D3D12DDI_OPTIONS_0090 structure.
D3D12DDICAPS_TYPE_OPTIONS_0091
The driver should indicate support for capabilities in the D3D12DDI_OPTIONS_0091 structure.

Remarks

The Direct3D runtime specifies a D3DDDICAPS_TYPE_XXX in D3D12DDIARG_GETCAPS when it calls a driver's PFND3DDDI_GETCAPS callback function.

When determining 3D pipeline support:

  • Versions of Direct3D built into the operating system at or before Windows 10, version 20H2 use 3DPIPELINESUPPORT.
  • Versions of Direct3D built into Windows Server 2022 operating system, or organized as a re-distributable, use 3DPIPELINESUPPORT1, and fall back to 3DPIPELINESUPPORT if it fails.

Requirements

Requirement Value
Header d3d12umddi.h (include D3d12umddi.h)

See also

D3D12DDIARG_GETCAPS

PFND3DDDI_GETCAPS