From 190d0ce465bcec273965fd14a0254403636d0ffb Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 26 Nov 2020 00:48:31 +0530 Subject: [PATCH 5/5] include: Add D3D11_FORMAT_SUPPORT2 enumeration in d3d11.idl. Signed-off-by: Biswapriyo Nath --- include/d3d11.idl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/d3d11.idl b/include/d3d11.idl index 73ef422..982f4ab 100644 --- a/include/d3d11.idl +++ b/include/d3d11.idl @@ -1445,6 +1445,22 @@ typedef enum D3D11_FORMAT_SUPPORT D3D11_FORMAT_SUPPORT_VIDEO_ENCODER = 0x40000000, } D3D11_FORMAT_SUPPORT; +typedef enum D3D11_FORMAT_SUPPORT2 +{ + D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x00000001, + D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x00000002, + D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE = 0x00000004, + D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE = 0x00000008, + D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX = 0x00000010, + D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX = 0x00000020, + D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD = 0x00000040, + D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE = 0x00000080, + D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP = 0x00000100, + D3D11_FORMAT_SUPPORT2_TILED = 0x00000200, + D3D11_FORMAT_SUPPORT2_SHAREABLE = 0x00000400, + D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x00004000, +} D3D11_FORMAT_SUPPORT2; + typedef enum D3D11_CLEAR_FLAG { D3D11_CLEAR_DEPTH = 0x0001L, -- 2.29.2