Author: akhaldi
Date: Tue Mar 1 13:38:40 2016
New Revision: 70835
URL:
http://svn.reactos.org/svn/reactos?rev=70835&view=rev
Log:
[PSDK] Update d3dcommon.idl. CORE-10912
Modified:
trunk/reactos/include/psdk/d3dcommon.idl
Modified: trunk/reactos/include/psdk/d3dcommon.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/d3dcommon.idl…
==============================================================================
--- trunk/reactos/include/psdk/d3dcommon.idl [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/d3dcommon.idl [iso-8859-1] Tue Mar 1 13:38:40 2016
@@ -21,8 +21,8 @@
typedef struct _D3D_SHADER_MACRO
{
- LPCSTR Name;
- LPCSTR Definition;
+ const char *Name;
+ const char *Definition;
} D3D_SHADER_MACRO;
typedef struct _D3D_SHADER_MACRO* LPD3D_SHADER_MACRO;
@@ -86,7 +86,24 @@
D3D_FEATURE_LEVEL_10_0 = 0xa000,
D3D_FEATURE_LEVEL_10_1 = 0xa100,
D3D_FEATURE_LEVEL_11_0 = 0xb000,
+ D3D_FEATURE_LEVEL_11_1 = 0xb100
} D3D_FEATURE_LEVEL;
+
+cpp_quote("#define D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION 2048")
+cpp_quote("#define D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION 4096")
+cpp_quote("#define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION 2048")
+cpp_quote("#define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION 4096")
+cpp_quote("#define D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION 512")
+cpp_quote("#define D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION 4096")
+cpp_quote("#define D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION 256")
+cpp_quote("#define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY 2")
+cpp_quote("#define D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT 65535")
+cpp_quote("#define D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT 1048575")
+cpp_quote("#define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT 1")
+cpp_quote("#define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT 4")
+cpp_quote("#define D3D_FL9_1_MAX_TEXTURE_REPEAT 128")
+cpp_quote("#define D3D_FL9_2_MAX_TEXTURE_REPEAT 2048")
+cpp_quote("#define D3D_FL9_3_MAX_TEXTURE_REPEAT 8192")
typedef enum _D3D_SHADER_VARIABLE_CLASS
{
@@ -108,6 +125,19 @@
D3D11_SVC_INTERFACE_POINTER,
D3D_SVC_FORCE_DWORD = 0x7fffffff,
} D3D_SHADER_VARIABLE_CLASS;
+
+typedef enum _D3D_SHADER_VARIABLE_FLAGS
+{
+ D3D_SVF_USERPACKED = 0x01,
+ D3D_SVF_USED = 0x02,
+ D3D_SVF_INTERFACE_POINTER = 0x04,
+ D3D_SVF_INTERFACE_PARAMETER = 0x08,
+ D3D10_SVF_USERPACKED = D3D_SVF_USERPACKED,
+ D3D10_SVF_USED = D3D_SVF_USED,
+ D3D11_SVF_INTERFACE_POINTER = D3D_SVF_INTERFACE_POINTER,
+ D3D11_SVF_INTERFACE_PARAMETER = D3D_SVF_INTERFACE_PARAMETER,
+ D3D_SVF_FORCE_DWORD = 0x7fffffff
+} D3D_SHADER_VARIABLE_FLAGS;
typedef enum _D3D_SHADER_VARIABLE_TYPE
{
@@ -218,6 +248,22 @@
D3D_SVT_FORCE_DWORD = 0x7fffffff,
} D3D_SHADER_VARIABLE_TYPE;
+typedef enum _D3D_SHADER_INPUT_FLAGS
+{
+ D3D_SIF_USERPACKED = 0x01,
+ D3D_SIF_COMPARISON_SAMPLER = 0x02,
+ D3D_SIF_TEXTURE_COMPONENT_0 = 0x04,
+ D3D_SIF_TEXTURE_COMPONENT_1 = 0x08,
+ D3D_SIF_TEXTURE_COMPONENTS = 0x0C,
+ D3D_SIF_UNUSED = 0x10,
+ D3D10_SIF_USERPACKED = D3D_SIF_USERPACKED,
+ D3D10_SIF_COMPARISON_SAMPLER = D3D_SIF_COMPARISON_SAMPLER,
+ D3D10_SIF_TEXTURE_COMPONENT_0 = D3D_SIF_TEXTURE_COMPONENT_0,
+ D3D10_SIF_TEXTURE_COMPONENT_1 = D3D_SIF_TEXTURE_COMPONENT_1,
+ D3D10_SIF_TEXTURE_COMPONENTS = D3D_SIF_TEXTURE_COMPONENTS,
+ D3D_SIF_FORCE_DWORD = 0x7fffffff
+} D3D_SHADER_INPUT_FLAGS;
+
typedef enum D3D_PRIMITIVE
{
D3D_PRIMITIVE_UNDEFINED,
@@ -618,3 +664,12 @@
D3D11_SIT_UAV_CONSUME_STRUCTURED,
D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER,
} D3D_SHADER_INPUT_TYPE;
+
+typedef enum _D3D_SHADER_CBUFFER_FLAGS
+{
+ D3D_CBF_USERPACKED = 0x01,
+ D3D10_CBF_USERPACKED = D3D_CBF_USERPACKED,
+ D3D_CBF_FORCE_DWORD = 0x7fffffff
+} D3D_SHADER_CBUFFER_FLAGS;
+
+cpp_quote("DEFINE_GUID(WKPDID_D3DDebugObjectName,0x429b8c22,0x9188,0x4b0c,0x87,0x42,0xac,0xb0,0xbf,0x85,0xc2,0x00);")