[PATCH 4/5] include: Add d3d11.1 and d3d11.2 constants to d3d11.idl.

Henri Verbeet hverbeet at codeweavers.com
Tue Feb 13 03:32:46 CST 2018


Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
 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,
-- 
2.1.4




More information about the wine-devel mailing list