[PATCH v2 6/6] include/d3d10.idl: Add unions in D3D10_BUFFER_SRV structure members.
Biswapriyo Nath
nathbappai at gmail.com
Tue Aug 25 13:27:04 CDT 2020
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200825/f0b3836a/attachment.htm>
-------------- next part --------------
From d7daf21878b888aeb172f46b3427efa373158439 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Tue, 25 Aug 2020 23:53:57 +0530
Subject: [PATCH v2 6/6] include/d3d10.idl: Add unions in D3D10_BUFFER_SRV structure members.
Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
include/d3d10.idl | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/include/d3d10.idl b/include/d3d10.idl
index 2e8927f..4a94034 100644
--- a/include/d3d10.idl
+++ b/include/d3d10.idl
@@ -723,8 +723,14 @@ typedef struct D3D10_RENDER_TARGET_VIEW_DESC {
typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION;
typedef struct D3D10_BUFFER_SRV {
- UINT ElementOffset;
- UINT ElementWidth;
+ union {
+ UINT FirstElement;
+ UINT ElementOffset;
+ };
+ union {
+ UINT NumElements;
+ UINT ElementWidth;
+ };
} D3D10_BUFFER_SRV;
typedef struct D3D10_TEX1D_SRV {
--
2.27.0
More information about the wine-devel
mailing list