[PATCH] include: Add some missing D3D11 constants.

Józef Kucia jkucia at codeweavers.com
Fri Nov 6 10:32:20 CST 2015


Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 include/d3d11.idl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/d3d11.idl b/include/d3d11.idl
index cf8d93d..605befd 100644
--- a/include/d3d11.idl
+++ b/include/d3d11.idl
@@ -87,12 +87,17 @@ const UINT D3D11_DEFAULT_VIEWPORT_WIDTH      = 0;
 
 cpp_quote("#define D3D11_FLOAT32_MAX         (3.402823466e+38f)")
 
+const UINT D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32;
+
 const unsigned int D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT = 8;
 
 const UINT D3D11_MAX_MAXANISOTROPY           = 16;
 const UINT D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT = 32;
 const UINT D3D11_VIEWPORT_BOUNDS_MAX         = 32767;
 const INT D3D11_VIEWPORT_BOUNDS_MIN          = -32768;
+const UINT D3D11_VIEWPORT_AND_SCISSORRECT_MAX_INDEX = 15;
+const UINT D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE = 16;
+
 const UINT D3D11_SHADER_MAJOR_VERSION        = 5;
 const UINT D3D11_SHADER_MAX_INSTANCES        = 65535;
 const UINT D3D11_SHADER_MAX_INTERFACES       = 253;
-- 
2.4.10




More information about the wine-patches mailing list