[PATCH v2 2/4] include: Add D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS struct in d3d12.idl.
Biswapriyo Nath
nathbappai at gmail.com
Thu Oct 1 04:08:27 CDT 2020
-------------- next part --------------
From 9696b3dc2ac3cc1a6b8466700e34e7866bb59a70 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Thu, 1 Oct 2020 14:33:00 +0530
Subject: [PATCH v2 2/4] include: Add D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS struct in d3d12.idl.
Also add D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS enum which is required by it.
Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
include/d3d12.idl | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/include/d3d12.idl b/include/d3d12.idl
index 201e01f..beedf7c 100644
--- a/include/d3d12.idl
+++ b/include/d3d12.idl
@@ -159,6 +159,14 @@ typedef enum D3D12_FORMAT_SUPPORT2
D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x00004000,
} D3D12_FORMAT_SUPPORT2;
+typedef enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS
+{
+ D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_NONE = 0x0,
+ D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE = 0x1,
+} D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS;
+
+cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS);")
+
interface ID3D12Fence;
interface ID3D12RootSignature;
interface ID3D12Heap;
@@ -254,6 +262,14 @@ typedef struct D3D12_FEATURE_DATA_FORMAT_SUPPORT
D3D12_FORMAT_SUPPORT2 Support2;
} D3D12_FEATURE_DATA_FORMAT_SUPPORT;
+typedef struct D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS
+{
+ DXGI_FORMAT Format;
+ UINT SampleCount;
+ D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS Flags;
+ UINT NumQualityLevels;
+} D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS;
+
typedef enum D3D12_HEAP_TYPE
{
D3D12_HEAP_TYPE_DEFAULT = 1,
--
2.27.0
More information about the wine-devel
mailing list