Henri Verbeet : include: Add d3d11.1 and d3d11.2 constants to d3d11.idl.

Alexandre Julliard julliard at winehq.org
Mon May 14 06:54:21 CDT 2018


Module: wine
Branch: stable
Commit: 2008619cf6566802944cea920cf597949324b840
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2008619cf6566802944cea920cf597949324b840

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Feb 13 13:20:46 2018 +0330

include: Add d3d11.1 and d3d11.2 constants to d3d11.idl.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 529168ecf7e538ae23ccb037f99dffec66470350)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 include/d3d11.idl | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/d3d11.idl b/include/d3d11.idl
index a7b9812..8de2056 100644
--- a/include/d3d11.idl
+++ b/include/d3d11.idl
@@ -260,6 +260,16 @@ cpp_quote("struct CD3D11_DEFAULT {};")
 cpp_quote("extern const DECLSPEC_SELECTANY CD3D11_DEFAULT D3D11_DEFAULT;")
 cpp_quote("#endif")
 
+cpp_quote("#ifndef _D3D11_1_CONSTANTS")
+cpp_quote("#define _D3D11_1_CONSTANTS")
+const UINT D3D11_1_UAV_SLOT_COUNT = 64;
+cpp_quote("#endif")
+
+cpp_quote("#ifndef _D3D11_2_CONSTANTS")
+cpp_quote("#define _D3D11_2_CONSTANTS")
+const UINT D3D11_2_TILED_RESOURCE_TILE_SIZE_IN_BYTES = 0x10000;
+cpp_quote("#endif")
+
 typedef enum D3D11_BLEND
 {
     D3D11_BLEND_ZERO = 1,




More information about the wine-cvs mailing list