D3D12_FORMAT_SUPPORT2 enumeration (d3d12.h)
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
} ;
Constants
D3D12_FORMAT_SUPPORT2_NONE Value: 0 No unordered resource options are supported. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_ADD Value: 0x1 Format supports atomic add. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS Value: 0x2 Format supports atomic bitwise operations. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE Value: 0x4 Format supports atomic compare with store or exchange. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE Value: 0x8 Format supports atomic exchange. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX Value: 0x10 Format supports atomic min and max. |
D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX Value: 0x20 Format supports atomic unsigned min and max. |
D3D12_FORMAT_SUPPORT2_UAV_TYPED_LOAD Value: 0x40 Format supports a typed load. |
D3D12_FORMAT_SUPPORT2_UAV_TYPED_STORE Value: 0x80 Format supports a typed store. |
D3D12_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP Value: 0x100 Format supports logic operations in blend state. |
D3D12_FORMAT_SUPPORT2_TILED Value: 0x200 Format supports tiled resources. Refer to Volume Tiled Resources. |
D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY Value: 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 |