D3D11DDI_SHADER_CAPS structure (d3d10umddi.h)
The D3D11DDI_SHADER_CAPS structure contains display device shader capabilities.
Syntax
typedef struct D3D11DDI_SHADER_CAPS {
[in] UINT Caps;
} D3D11DDI_SHADER_CAPS;
Members
[in] Caps
A valid bitwise OR of values that describe the shader capabilities of the display device. The Direct3D runtime supports the following values.
D3D11DDICAPS_SHADER_DOUBLES (0x1)
The display device supports shaders that can internally operate on double-precision floating-point numbers. However, these shaders can neither input nor output double values, and they cannot perform atomic operations on double values. Only operations that are internal to such a shader can use double values. The shader must form double values by combining input values at the start of the shader. The shader must break apart double values into multiple output values at the end of the shader.
D3D11DDICAPS_SHADER_COMPUTE_PLUS_RAW_AND_STRUCTURED_BUFFERS_IN_SHADER_4_X (0x2)
The display device supports compute shaders as well as raw and structured buffers. The runtime can successfully call the driver's CreateComputeShader function to create a compute shader and the driver's CreateShaderResourceView(D3D11) and CreateUnorderedAccessView functions to create raw and structured buffers.
Drivers that run the Direct3D version 11 pipeline (the D3D11DDI_3DPIPELINELEVEL_11_0 value of the D3D11DDI_3DPIPELINELEVEL enumeration) and greater must report this shader capability.
Requirements
Requirement | Value |
---|---|
Minimum supported client | D3D11DDI_SHADER_CAPS is supported beginning with the Windows 7 operating system. |
Header | d3d10umddi.h (include D3d10umddi.h) |