Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 3.87 KB

ns-d3d10umddi-d3d11ddi_shader_caps.md

File metadata and controls

88 lines (58 loc) · 3.87 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3d10umddi.D3D11DDI_SHADER_CAPS
D3D11DDI_SHADER_CAPS (d3d10umddi.h)
The D3D11DDI_SHADER_CAPS structure contains display device shader capabilities.
display\d3d11ddi_shader_caps.htm
05/10/2018
D3D11DDI_SHADER_CAPS structure
D3D11DDICAPS_SHADER_COMPUTE_PLUS_RAW_AND_STRUCTURED_BUFFERS_IN_SHADER_4_X (0x2), D3D11DDICAPS_SHADER_DOUBLES (0x1), D3D11DDI_SHADER_CAPS, D3D11DDI_SHADER_CAPS structure [Display Devices], UMDisplayDriver_Dx11param_Structs_e0026993-2d6d-4478-8796-c423c841f7f8.xml, d3d10umddi/D3D11DDI_SHADER_CAPS, display.d3d11ddi_shader_caps
d3d10umddi.h
D3d10umddi.h
Windows
D3D11DDI_SHADER_CAPS is supported beginning with the Windows 7 operating system.
Windows
display
D3D11DDI_SHADER_CAPS
D3D11DDI_SHADER_CAPS
d3d10umddi/D3D11DDI_SHADER_CAPS
APIRef
kbSyntax
HeaderDef
d3d10umddi.h
D3D11DDI_SHADER_CAPS

D3D11DDI_SHADER_CAPS structure

-description

The D3D11DDI_SHADER_CAPS structure contains display device shader capabilities.

-struct-fields

-field Caps [in]

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.

-see-also

CreateComputeShader

CreateShaderResourceView(D3D11)

CreateUnorderedAccessView

D3D10_2DDICAPS_TYPE

GetCaps(D3D10_2)