[PATCH] include/d3d11.idl: add _D3D11_1_CONSTANTS / _D3D11_2_CONSTANTS

Austin English austinenglish at gmail.com
Tue Feb 13 13:50:05 CST 2018


Signed-off-by: Austin English <austinenglish at gmail.com>
---
 include/d3d11.idl | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/d3d11.idl b/include/d3d11.idl
index a7b98126a1..f15f1217f1 100644
--- a/include/d3d11.idl
+++ b/include/d3d11.idl
@@ -168,6 +168,16 @@ const UINT D3D11_VS_OUTPUT_REGISTER_COUNT    = 32;
 
 const UINT D3D11_OMAC_SIZE = 16;
 
+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 = 65536;
+cpp_quote("#endif")
+
 const UINT D3D11_PS_CS_UAV_REGISTER_COMPONENTS         = 1;
 const UINT D3D11_PS_CS_UAV_REGISTER_COUNT              = 8;
 const UINT D3D11_PS_CS_UAV_REGISTER_READS_PER_INST     = 1;
-- 
2.13.6




More information about the wine-devel mailing list