Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_OPTIONS1_0103,
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_0103_WAVE_MMA,
D3D12DDICAPS_TYPE_OPTIONS_0090,
D3D12DDICAPS_TYPE_OPTIONS_0091,
D3D12DDICAPS_TYPE_OPTIONS_0093,
D3D12DDICAPS_TYPE_OPTIONS_0098,
D3D12DDICAPS_TYPE_OPTIONS_0101,
D3D12DDICAPS_TYPE_OPTIONS_0102,
D3D12DDI_FEATURE_D3D12_PREDICATION_106,
D3D12DDI_FEATURE_PLACED_RESOURCE_SUPPORT_INFO_106,
D3D12DDI_FEATURE_HARDWARE_COPY_106,
D3D12DDICAPS_TYPE_OPTIONS_0109,
D3D12DDICAPS_TYPE_OPTIONS_0110,
D3D12DDICAPS_TYPE_SHADER_MODEL_6_8_OPTIONS_0110
} ;
Constants
D3D12DDICAPS_TYPE_TEXTURE_LAYOUTTexture layout. Deprecated. Use D3D12DDICAPS_TYPE_0022_TEXTURE_LAYOUT instead. |
D3D12DDICAPS_TYPE_SWIZZLE_PATTERNSwizzle pattern. Deprecated. Use D3D12DDICAPS_TYPE_0022_SWIZZLE_PATTERN instead. |
D3D12DDICAPS_TYPE_MEMORY_ARCHITECTUREMemory architecture. |
D3D12DDICAPS_TYPE_TEXTURE_LAYOUT_SETSTexture layout sets. |
D3D12DDICAPS_TYPE_SHADERShader. |
D3D12DDICAPS_TYPE_ARCHITECTURE_INFOArchitecture information. |
D3D12DDICAPS_TYPE_D3D12_OPTIONSOptions for D3D12. |
D3D12DDICAPS_TYPE_3DPIPELINESUPPORTThe 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_CAPSThe driver supports GPU video acceleration capabilities. |
D3D12DDICAPS_TYPE_TEXTURE_LAYOUT1Texture layout. Deprecated. Use D3D12DDICAPS_TYPE_0022_TEXTURE_LAYOUT instead. |
D3D12DDICAPS_TYPE_0011_SHADER_MODELSShader models. |
D3D12DDICAPS_TYPE_OPTIONS1_0103Queries the driver's support for capabilities in the D3D12DDI_OPTIONS_DATA_0103 structure. |
D3D12DDICAPS_TYPE_0030_PROTECTED_RESOURCE_SESSION_SUPPORTProtected resource session support. |
D3D12DDICAPS_TYPE_0030_CRYPTO_SESSION_SUPPORTCrypto session support. Deprecated. See D3D12DDICAPS_TYPE_VIDEO_0032_CRYPTO_SESSION_SUPPORT in to D3D12DDICAPS_TYPE_VIDEO_0020. |
D3D12DDICAPS_TYPE_0022_CPU_PAGE_TABLE_FALSE_POSITIVESCPU page table false positives. |
D3D12DDICAPS_TYPE_0022_TEXTURE_LAYOUTTexture layout. |
D3D12DDICAPS_TYPE_0022_SWIZZLE_PATTERNSwizzle pattern. |
D3D12DDICAPS_TYPE_0023_UMD_BASED_COMMAND_QUEUE_PRIORITYUser mode driver-based command queue priority. |
D3D12DDICAPS_TYPE_0030_CONTENT_PROTECTION_SYSTEM_COUNTContent 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_SUPPORTContent 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_SUPPORTCrypto transform support. Deprecated. See D3D12DDICAPS_TYPE_VIDEO_0032_CRYPTO_SESSION_TRANSFORM_SUPPORT in to D3D12DDICAPS_TYPE_VIDEO_0020. |
D3D12DDICAPS_TYPE_0033_ADAPTER_COMPUTE_ONLYAdapter compute only. |
D3D12DDICAPS_TYPE_0050_HARDWARE_SCHEDULING_CAPSHardware scheduling capabilities. |
D3D12DDICAPS_TYPE_QUERY_META_COMMAND_CAPS_0061Query meta-command capabilities. |
D3D12DDICAPS_TYPE_EXECUTECOMMANDLISTS_PARALLELISMExecute command lists in parallel. |
D3D12DDICAPS_TYPE_SAMPLER_FEEDBACK_0073Supports sampler feedback. See the Sampler Feedback Specification for more information. |
D3D12DDICAPS_TYPE_0073_SUPPORT_BATCHED_MARKERSIndicates whether UMD supports batched markers. |
D3D12DDICAPS_TYPE_0074_PROTECTED_RESOURCE_SESSION_TYPE_COUNTSupports 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_TYPESSupports 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_3DPIPELINESUPPORT1Support 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_0103_WAVE_MMAQueries the device's support for wave-level matrix multiply accumulate (MMA) operations, with the data returned in a D3D12DDI_WAVE_MMA_DATA_0103 structure. |
D3D12DDICAPS_TYPE_OPTIONS_0090Queries the driver's support for capabilities in the D3D12DDI_OPTIONS_DATA_0090 structure. |
D3D12DDICAPS_TYPE_OPTIONS_0091Queries the driver's support for capabilities in the D3D12DDI_OPTIONS_DATA_0091 structure. |
D3D12DDICAPS_TYPE_OPTIONS_0093Queries the driver's support for capabilities in the [D3D12DDI_OPTIONS_DATA_0093] structure. |
D3D12DDICAPS_TYPE_OPTIONS_0098Queries the driver's support for capabilities in the [D3D12DDI_OPTIONS_DATA_0098] structure. |
D3D12DDICAPS_TYPE_OPTIONS_0101Queries the driver's support for capabilities in the [D3D12DDI_OPTIONS_DATA_0101] structure. |
D3D12DDICAPS_TYPE_OPTIONS_0102Queries the driver's support for capabilities in the [D3D12DDI_OPTIONS_DATA_0102] structure. |
D3D12DDI_FEATURE_D3D12_PREDICATION_106Queries the driver's support for predication. |
D3D12DDI_FEATURE_PLACED_RESOURCE_SUPPORT_INFO_106Queries the driver's support for placed resource support information. |
D3D12DDI_FEATURE_HARDWARE_COPY_106Queries the device's support for hardware copy operations. |
D3D12DDICAPS_TYPE_OPTIONS_0109Queries the driver's support for capabilities in the D3D12DDI_OPTIONS_DATA_0109 structure. |
D3D12DDICAPS_TYPE_OPTIONS_0110Queries the driver's support for capabilities in the D3D12DDI_OPTIONS_DATA_0110 structure. |
D3D12DDICAPS_TYPE_SHADER_MODEL_6_8_OPTIONS_0110Queries the device's support for Shader Model 6.8 options. |
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) |