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.
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_SHAREABLE = 0x400,
D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x4000,
D3D11_FORMAT_SUPPORT2_DISPLAYABLE
} ;
Constants
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD Value: 0x1 Format supports atomic add. |
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS Value: 0x2 Format supports atomic bitwise operations. |
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE Value: 0x4 Format supports atomic compare with store or exchange. |
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE Value: 0x8 Format supports atomic exchange. |
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX Value: 0x10 Format supports atomic min and max. |
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX Value: 0x20 Format supports atomic unsigned min and max. |
D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD Value: 0x40 Format supports a typed load. |
D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE Value: 0x80 Format supports a typed store. |
D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP Value: 0x100 Format supports logic operations in blend state. Direct3D 11: This value is not supported until Direct3D 11.1. |
D3D11_FORMAT_SUPPORT2_TILED Value: 0x200 Format supports tiled resources. Direct3D 11: This value is not supported until Direct3D 11.2. |
D3D11_FORMAT_SUPPORT2_SHAREABLE Value: 0x400 Format supports shareable resources. Note DXGI_FORMAT_R8G8B8A8_UNORM and DXGI_FORMAT_R8G8B8A8_UNORM_SRGB are never shareable when using feature level 9, even if the device indicates optional feature support for D3D11_FORMAT_SUPPORT_SHAREABLE. Attempting to create shared resources with DXGI formats DXGI_FORMAT_R8G8B8A8_UNORM and DXGI_FORMAT_R8G8B8A8_UNORM_SRGB will always fail unless the feature level is 10_0 or higher. Direct3D 11: This value is not supported until Direct3D 11.2. |
D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY Value: 0x4000 Format supports multi-plane overlays. |
Requirements
Requirement | Value |
---|---|
Header | d3d11.h |