D3D11_FEATURE_DATA_DOUBLES structure (d3d11.h)

Describes double data type support in the current graphics driver.

Syntax

typedef struct D3D11_FEATURE_DATA_DOUBLES {
  BOOL DoublePrecisionFloatShaderOps;
} D3D11_FEATURE_DATA_DOUBLES;

Members

DoublePrecisionFloatShaderOps

Type: BOOL

Specifies whether double types are allowed. If TRUE, double types are allowed; otherwise FALSE. The runtime must set DoublePrecisionFloatShaderOps to TRUE in order for you to use any HLSL shader that is compiled with a double type.

Remarks

If the runtime sets DoublePrecisionFloatShaderOps to TRUE, the hardware and driver support the following Shader Model 5 instructions:

Note  If DoublePrecisionFloatShaderOps is TRUE, the hardware and driver do not necessarily support double-precision division.
 

Requirements

Requirement Value
Header d3d11.h

See also

Core Structures