D3D11_FORMAT_SUPPORT2 Enumeration

Unordered resource support options for a compute shader resource (see ID3D11Device::CheckFeatureSupport).

Syntax

typedef enum D3D11_FORMAT_SUPPORT2
{
    D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1,
    D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2,
    D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE = 0x4,
    D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE = 0x8,
    D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX = 0x10,
    D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX = 0x20,
    D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD = 0x40,
    D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE = 0x80,
    D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP = 0x100,
    D3D11_FORMAT_SUPPORT2_TILED = 0x200
} D3D11_FORMAT_SUPPORT2;  

Constants

Constant Description
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADDFormat supports atomic add.
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPSFormat supports atomic bitwise operations.
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGEFormat supports atomic compare with store or exchange.
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGEFormat supports atomic exchange.
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAXFormat supports atomic min and max.
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAXFormat supports atomic unsigned min and max.
D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOADFormat supports a typed load.
D3D11_FORMAT_SUPPORT2_UAV_TYPED_STOREFormat supports a typed store.
D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP Format supports logic operations in blend state.

Direct 3D 11

Note
This value is not supported until Direct3D 11.1.
D3D11_FORMAT_SUPPORT2_TILEDFormat supports tiled resources.

Direct 3D 11

Note
This value is not supported until Direct3D 11.2.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).