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.
Specifies which unordered resource options are supported for a provided format.
Syntax
typedef enum D3D12_FORMAT_SUPPORT2 {
D3D12_FORMAT_SUPPORT2_NONE = 0,
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1,
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2,
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE = 0x4,
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE = 0x8,
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX = 0x10,
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX = 0x20,
D3D12_FORMAT_SUPPORT2_UAV_TYPED_LOAD = 0x40,
D3D12_FORMAT_SUPPORT2_UAV_TYPED_STORE = 0x80,
D3D12_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP = 0x100,
D3D12_FORMAT_SUPPORT2_TILED = 0x200,
D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x4000,
D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK,
D3D12_FORMAT_SUPPORT2_DISPLAYABLE
} ;
Constants
D3D12_FORMAT_SUPPORT2_NONEValue: 0 No unordered resource options are supported. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_ADDValue: 0x1 Format supports atomic add. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPSValue: 0x2 Format supports atomic bitwise operations. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGEValue: 0x4 Format supports atomic compare with store or exchange. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGEValue: 0x8 Format supports atomic exchange. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAXValue: 0x10 Format supports atomic min and max. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAXValue: 0x20 Format supports atomic unsigned min and max. |
D3D12_FORMAT_SUPPORT2_UAV_TYPED_LOADValue: 0x40 Format supports a typed load. |
D3D12_FORMAT_SUPPORT2_UAV_TYPED_STOREValue: 0x80 Format supports a typed store. |
D3D12_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OPValue: 0x100 Format supports logic operations in blend state. |
D3D12_FORMAT_SUPPORT2_TILEDValue: 0x200 Format supports tiled resources. Refer to Volume Tiled Resources. |
D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAYValue: 0x4000 Format supports multi-plane overlays. |
Remarks
This enum is used by the D3D12_FEATURE_DATA_FORMAT_SUPPORT structure.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12.h |