• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*** Autogenerated by WIDL 4.19 from direct-x/include/d3dcommon.idl - Do not edit ***/
2 
3 #ifdef _WIN32
4 #ifndef __REQUIRED_RPCNDR_H_VERSION__
5 #define __REQUIRED_RPCNDR_H_VERSION__ 475
6 #endif
7 #include <rpc.h>
8 #include <rpcndr.h>
9 #endif
10 
11 #ifndef COM_NO_WINDOWS_H
12 #include <windows.h>
13 #include <ole2.h>
14 #endif
15 
16 #ifndef __d3dcommon_h__
17 #define __d3dcommon_h__
18 
19 /* Forward declarations */
20 
21 #ifndef __ID3D10Blob_FWD_DEFINED__
22 #define __ID3D10Blob_FWD_DEFINED__
23 typedef interface ID3D10Blob ID3D10Blob;
24 #ifdef __cplusplus
25 interface ID3D10Blob;
26 #endif /* __cplusplus */
27 #endif
28 
29 #ifndef __ID3DInclude_FWD_DEFINED__
30 #define __ID3DInclude_FWD_DEFINED__
31 typedef interface ID3DInclude ID3DInclude;
32 #ifdef __cplusplus
33 interface ID3DInclude;
34 #endif /* __cplusplus */
35 #endif
36 
37 /* Headers for imported files */
38 
39 #include <oaidl.h>
40 #include <ocidl.h>
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 typedef struct _D3D_SHADER_MACRO {
47     const char *Name;
48     const char *Definition;
49 } D3D_SHADER_MACRO;
50 typedef struct _D3D_SHADER_MACRO *LPD3D_SHADER_MACRO;
51 /*****************************************************************************
52  * ID3D10Blob interface
53  */
54 #ifndef __ID3D10Blob_INTERFACE_DEFINED__
55 #define __ID3D10Blob_INTERFACE_DEFINED__
56 
57 DEFINE_GUID(IID_ID3D10Blob, 0x8ba5fb08, 0x5195, 0x40e2, 0xac,0x58, 0x0d,0x98,0x9c,0x3a,0x01,0x02);
58 #if defined(__cplusplus) && !defined(CINTERFACE)
59 MIDL_INTERFACE("8ba5fb08-5195-40e2-ac58-0d989c3a0102")
60 ID3D10Blob : public IUnknown
61 {
62     virtual void * STDMETHODCALLTYPE GetBufferPointer(
63         ) = 0;
64 
65     virtual SIZE_T STDMETHODCALLTYPE GetBufferSize(
66         ) = 0;
67 
68 };
69 #ifdef __CRT_UUID_DECL
70 __CRT_UUID_DECL(ID3D10Blob, 0x8ba5fb08, 0x5195, 0x40e2, 0xac,0x58, 0x0d,0x98,0x9c,0x3a,0x01,0x02)
71 #endif
72 #else
73 typedef struct ID3D10BlobVtbl {
74     BEGIN_INTERFACE
75 
76     /*** IUnknown methods ***/
77     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
78         ID3D10Blob *This,
79         REFIID riid,
80         void **ppvObject);
81 
82     ULONG (STDMETHODCALLTYPE *AddRef)(
83         ID3D10Blob *This);
84 
85     ULONG (STDMETHODCALLTYPE *Release)(
86         ID3D10Blob *This);
87 
88     /*** ID3D10Blob methods ***/
89     void * (STDMETHODCALLTYPE *GetBufferPointer)(
90         ID3D10Blob *This);
91 
92     SIZE_T (STDMETHODCALLTYPE *GetBufferSize)(
93         ID3D10Blob *This);
94 
95     END_INTERFACE
96 } ID3D10BlobVtbl;
97 
98 interface ID3D10Blob {
99     CONST_VTBL ID3D10BlobVtbl* lpVtbl;
100 };
101 
102 #ifdef COBJMACROS
103 #ifndef WIDL_C_INLINE_WRAPPERS
104 /*** IUnknown methods ***/
105 #define ID3D10Blob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
106 #define ID3D10Blob_AddRef(This) (This)->lpVtbl->AddRef(This)
107 #define ID3D10Blob_Release(This) (This)->lpVtbl->Release(This)
108 /*** ID3D10Blob methods ***/
109 #define ID3D10Blob_GetBufferPointer(This) (This)->lpVtbl->GetBufferPointer(This)
110 #define ID3D10Blob_GetBufferSize(This) (This)->lpVtbl->GetBufferSize(This)
111 #else
112 /*** IUnknown methods ***/
113 static FORCEINLINE HRESULT ID3D10Blob_QueryInterface(ID3D10Blob* This,REFIID riid,void **ppvObject) {
114     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
115 }
116 static FORCEINLINE ULONG ID3D10Blob_AddRef(ID3D10Blob* This) {
117     return This->lpVtbl->AddRef(This);
118 }
119 static FORCEINLINE ULONG ID3D10Blob_Release(ID3D10Blob* This) {
120     return This->lpVtbl->Release(This);
121 }
122 /*** ID3D10Blob methods ***/
123 static FORCEINLINE void * ID3D10Blob_GetBufferPointer(ID3D10Blob* This) {
124     return This->lpVtbl->GetBufferPointer(This);
125 }
126 static FORCEINLINE SIZE_T ID3D10Blob_GetBufferSize(ID3D10Blob* This) {
127     return This->lpVtbl->GetBufferSize(This);
128 }
129 #endif
130 #endif
131 
132 #endif
133 
134 
135 #endif  /* __ID3D10Blob_INTERFACE_DEFINED__ */
136 
137 typedef ID3D10Blob *LPD3D10BLOB;
138 typedef ID3D10Blob ID3DBlob;
139 typedef ID3DBlob *LPD3DBLOB;
140 #define IID_ID3DBlob IID_ID3D10Blob
141 typedef enum _D3D_INCLUDE_TYPE {
142     D3D_INCLUDE_LOCAL = 0,
143     D3D_INCLUDE_SYSTEM = 1,
144     D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL,
145     D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM,
146     D3D_INCLUDE_FORCE_DWORD = 0x7fffffff
147 } D3D_INCLUDE_TYPE;
148 /*****************************************************************************
149  * ID3DInclude interface
150  */
151 #ifndef __ID3DInclude_INTERFACE_DEFINED__
152 #define __ID3DInclude_INTERFACE_DEFINED__
153 
154 #if defined(__cplusplus) && !defined(CINTERFACE)
155 interface ID3DInclude
156 {
157 
158     BEGIN_INTERFACE
159 
160     virtual HRESULT STDMETHODCALLTYPE Open(
161         D3D_INCLUDE_TYPE include_type,
162         const char *filename,
163         const void *parent_data,
164         const void **data,
165         UINT *bytes) = 0;
166 
167     virtual HRESULT STDMETHODCALLTYPE Close(
168         const void *data) = 0;
169 
170     END_INTERFACE
171 
172 };
173 #else
174 typedef struct ID3DIncludeVtbl {
175     BEGIN_INTERFACE
176 
177     /*** ID3DInclude methods ***/
178     HRESULT (STDMETHODCALLTYPE *Open)(
179         ID3DInclude *This,
180         D3D_INCLUDE_TYPE include_type,
181         const char *filename,
182         const void *parent_data,
183         const void **data,
184         UINT *bytes);
185 
186     HRESULT (STDMETHODCALLTYPE *Close)(
187         ID3DInclude *This,
188         const void *data);
189 
190     END_INTERFACE
191 } ID3DIncludeVtbl;
192 
193 interface ID3DInclude {
194     CONST_VTBL ID3DIncludeVtbl* lpVtbl;
195 };
196 
197 #ifdef COBJMACROS
198 #ifndef WIDL_C_INLINE_WRAPPERS
199 /*** ID3DInclude methods ***/
200 #define ID3DInclude_Open(This,include_type,filename,parent_data,data,bytes) (This)->lpVtbl->Open(This,include_type,filename,parent_data,data,bytes)
201 #define ID3DInclude_Close(This,data) (This)->lpVtbl->Close(This,data)
202 #else
203 /*** ID3DInclude methods ***/
ID3DInclude_Open(ID3DInclude * This,D3D_INCLUDE_TYPE include_type,const char * filename,const void * parent_data,const void ** data,UINT * bytes)204 static FORCEINLINE HRESULT ID3DInclude_Open(ID3DInclude* This,D3D_INCLUDE_TYPE include_type,const char *filename,const void *parent_data,const void **data,UINT *bytes) {
205     return This->lpVtbl->Open(This,include_type,filename,parent_data,data,bytes);
206 }
ID3DInclude_Close(ID3DInclude * This,const void * data)207 static FORCEINLINE HRESULT ID3DInclude_Close(ID3DInclude* This,const void *data) {
208     return This->lpVtbl->Close(This,data);
209 }
210 #endif
211 #endif
212 
213 #endif
214 
215 
216 #endif  /* __ID3DInclude_INTERFACE_DEFINED__ */
217 
218 typedef ID3DInclude *LPD3DINCLUDE;
219 typedef enum D3D_DRIVER_TYPE {
220     D3D_DRIVER_TYPE_UNKNOWN = 0,
221     D3D_DRIVER_TYPE_HARDWARE = 1,
222     D3D_DRIVER_TYPE_REFERENCE = 2,
223     D3D_DRIVER_TYPE_NULL = 3,
224     D3D_DRIVER_TYPE_SOFTWARE = 4,
225     D3D_DRIVER_TYPE_WARP = 5
226 } D3D_DRIVER_TYPE;
227 typedef enum D3D_FEATURE_LEVEL {
228     D3D_FEATURE_LEVEL_9_1 = 0x9100,
229     D3D_FEATURE_LEVEL_9_2 = 0x9200,
230     D3D_FEATURE_LEVEL_9_3 = 0x9300,
231     D3D_FEATURE_LEVEL_10_0 = 0xa000,
232     D3D_FEATURE_LEVEL_10_1 = 0xa100,
233     D3D_FEATURE_LEVEL_11_0 = 0xb000,
234     D3D_FEATURE_LEVEL_11_1 = 0xb100,
235     D3D_FEATURE_LEVEL_12_0 = 0xc000,
236     D3D_FEATURE_LEVEL_12_1 = 0xc100
237 } D3D_FEATURE_LEVEL;
238 #define D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION          2048
239 #define D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION          4096
240 #define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION     2048
241 #define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION     4096
242 #define D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION          512
243 #define D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION          4096
244 #define D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION   256
245 #define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY             2
246 #define D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT             65535
247 #define D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT             1048575
248 #define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT   1
249 #define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT   4
250 #define D3D_FL9_1_MAX_TEXTURE_REPEAT                 128
251 #define D3D_FL9_2_MAX_TEXTURE_REPEAT                 2048
252 #define D3D_FL9_3_MAX_TEXTURE_REPEAT                 8192
253 typedef enum _D3D_SHADER_VARIABLE_CLASS {
254     D3D_SVC_SCALAR = 0,
255     D3D_SVC_VECTOR = 1,
256     D3D_SVC_MATRIX_ROWS = 2,
257     D3D_SVC_MATRIX_COLUMNS = 3,
258     D3D_SVC_OBJECT = 4,
259     D3D_SVC_STRUCT = 5,
260     D3D_SVC_INTERFACE_CLASS = 6,
261     D3D_SVC_INTERFACE_POINTER = 7,
262     D3D10_SVC_SCALAR = 0,
263     D3D10_SVC_VECTOR = 1,
264     D3D10_SVC_MATRIX_ROWS = 2,
265     D3D10_SVC_MATRIX_COLUMNS = 3,
266     D3D10_SVC_OBJECT = 4,
267     D3D10_SVC_STRUCT = 5,
268     D3D11_SVC_INTERFACE_CLASS = 6,
269     D3D11_SVC_INTERFACE_POINTER = 7,
270     D3D_SVC_FORCE_DWORD = 0x7fffffff
271 } D3D_SHADER_VARIABLE_CLASS;
272 typedef enum _D3D_SHADER_VARIABLE_FLAGS {
273     D3D_SVF_USERPACKED = 0x1,
274     D3D_SVF_USED = 0x2,
275     D3D_SVF_INTERFACE_POINTER = 0x4,
276     D3D_SVF_INTERFACE_PARAMETER = 0x8,
277     D3D10_SVF_USERPACKED = D3D_SVF_USERPACKED,
278     D3D10_SVF_USED = D3D_SVF_USED,
279     D3D11_SVF_INTERFACE_POINTER = D3D_SVF_INTERFACE_POINTER,
280     D3D11_SVF_INTERFACE_PARAMETER = D3D_SVF_INTERFACE_PARAMETER,
281     D3D_SVF_FORCE_DWORD = 0x7fffffff
282 } D3D_SHADER_VARIABLE_FLAGS;
283 typedef enum _D3D_SHADER_VARIABLE_TYPE {
284     D3D_SVT_VOID = 0,
285     D3D_SVT_BOOL = 1,
286     D3D_SVT_INT = 2,
287     D3D_SVT_FLOAT = 3,
288     D3D_SVT_STRING = 4,
289     D3D_SVT_TEXTURE = 5,
290     D3D_SVT_TEXTURE1D = 6,
291     D3D_SVT_TEXTURE2D = 7,
292     D3D_SVT_TEXTURE3D = 8,
293     D3D_SVT_TEXTURECUBE = 9,
294     D3D_SVT_SAMPLER = 10,
295     D3D_SVT_SAMPLER1D = 11,
296     D3D_SVT_SAMPLER2D = 12,
297     D3D_SVT_SAMPLER3D = 13,
298     D3D_SVT_SAMPLERCUBE = 14,
299     D3D_SVT_PIXELSHADER = 15,
300     D3D_SVT_VERTEXSHADER = 16,
301     D3D_SVT_PIXELFRAGMENT = 17,
302     D3D_SVT_VERTEXFRAGMENT = 18,
303     D3D_SVT_UINT = 19,
304     D3D_SVT_UINT8 = 20,
305     D3D_SVT_GEOMETRYSHADER = 21,
306     D3D_SVT_RASTERIZER = 22,
307     D3D_SVT_DEPTHSTENCIL = 23,
308     D3D_SVT_BLEND = 24,
309     D3D_SVT_BUFFER = 25,
310     D3D_SVT_CBUFFER = 26,
311     D3D_SVT_TBUFFER = 27,
312     D3D_SVT_TEXTURE1DARRAY = 28,
313     D3D_SVT_TEXTURE2DARRAY = 29,
314     D3D_SVT_RENDERTARGETVIEW = 30,
315     D3D_SVT_DEPTHSTENCILVIEW = 31,
316     D3D_SVT_TEXTURE2DMS = 32,
317     D3D_SVT_TEXTURE2DMSARRAY = 33,
318     D3D_SVT_TEXTURECUBEARRAY = 34,
319     D3D_SVT_HULLSHADER = 35,
320     D3D_SVT_DOMAINSHADER = 36,
321     D3D_SVT_INTERFACE_POINTER = 37,
322     D3D_SVT_COMPUTESHADER = 38,
323     D3D_SVT_DOUBLE = 39,
324     D3D_SVT_RWTEXTURE1D = 40,
325     D3D_SVT_RWTEXTURE1DARRAY = 41,
326     D3D_SVT_RWTEXTURE2D = 42,
327     D3D_SVT_RWTEXTURE2DARRAY = 43,
328     D3D_SVT_RWTEXTURE3D = 44,
329     D3D_SVT_RWBUFFER = 45,
330     D3D_SVT_BYTEADDRESS_BUFFER = 46,
331     D3D_SVT_RWBYTEADDRESS_BUFFER = 47,
332     D3D_SVT_STRUCTURED_BUFFER = 48,
333     D3D_SVT_RWSTRUCTURED_BUFFER = 49,
334     D3D_SVT_APPEND_STRUCTURED_BUFFER = 50,
335     D3D_SVT_CONSUME_STRUCTURED_BUFFER = 51,
336     D3D10_SVT_VOID = 0,
337     D3D10_SVT_BOOL = 1,
338     D3D10_SVT_INT = 2,
339     D3D10_SVT_FLOAT = 3,
340     D3D10_SVT_STRING = 4,
341     D3D10_SVT_TEXTURE = 5,
342     D3D10_SVT_TEXTURE1D = 6,
343     D3D10_SVT_TEXTURE2D = 7,
344     D3D10_SVT_TEXTURE3D = 8,
345     D3D10_SVT_TEXTURECUBE = 9,
346     D3D10_SVT_SAMPLER = 10,
347     D3D10_SVT_SAMPLER1D = 11,
348     D3D10_SVT_SAMPLER2D = 12,
349     D3D10_SVT_SAMPLER3D = 13,
350     D3D10_SVT_SAMPLERCUBE = 14,
351     D3D10_SVT_PIXELSHADER = 15,
352     D3D10_SVT_VERTEXSHADER = 16,
353     D3D10_SVT_PIXELFRAGMENT = 17,
354     D3D10_SVT_VERTEXFRAGMENT = 18,
355     D3D10_SVT_UINT = 19,
356     D3D10_SVT_UINT8 = 20,
357     D3D10_SVT_GEOMETRYSHADER = 21,
358     D3D10_SVT_RASTERIZER = 22,
359     D3D10_SVT_DEPTHSTENCIL = 23,
360     D3D10_SVT_BLEND = 24,
361     D3D10_SVT_BUFFER = 25,
362     D3D10_SVT_CBUFFER = 26,
363     D3D10_SVT_TBUFFER = 27,
364     D3D10_SVT_TEXTURE1DARRAY = 28,
365     D3D10_SVT_TEXTURE2DARRAY = 29,
366     D3D10_SVT_RENDERTARGETVIEW = 30,
367     D3D10_SVT_DEPTHSTENCILVIEW = 31,
368     D3D10_SVT_TEXTURE2DMS = 32,
369     D3D10_SVT_TEXTURE2DMSARRAY = 33,
370     D3D10_SVT_TEXTURECUBEARRAY = 34,
371     D3D11_SVT_HULLSHADER = 35,
372     D3D11_SVT_DOMAINSHADER = 36,
373     D3D11_SVT_INTERFACE_POINTER = 37,
374     D3D11_SVT_COMPUTESHADER = 38,
375     D3D11_SVT_DOUBLE = 39,
376     D3D11_SVT_RWTEXTURE1D = 40,
377     D3D11_SVT_RWTEXTURE1DARRAY = 41,
378     D3D11_SVT_RWTEXTURE2D = 42,
379     D3D11_SVT_RWTEXTURE2DARRAY = 43,
380     D3D11_SVT_RWTEXTURE3D = 44,
381     D3D11_SVT_RWBUFFER = 45,
382     D3D11_SVT_BYTEADDRESS_BUFFER = 46,
383     D3D11_SVT_RWBYTEADDRESS_BUFFER = 47,
384     D3D11_SVT_STRUCTURED_BUFFER = 48,
385     D3D11_SVT_RWSTRUCTURED_BUFFER = 49,
386     D3D11_SVT_APPEND_STRUCTURED_BUFFER = 50,
387     D3D11_SVT_CONSUME_STRUCTURED_BUFFER = 51,
388     D3D_SVT_FORCE_DWORD = 0x7fffffff
389 } D3D_SHADER_VARIABLE_TYPE;
390 typedef enum _D3D_SHADER_INPUT_FLAGS {
391     D3D_SIF_USERPACKED = 0x1,
392     D3D_SIF_COMPARISON_SAMPLER = 0x2,
393     D3D_SIF_TEXTURE_COMPONENT_0 = 0x4,
394     D3D_SIF_TEXTURE_COMPONENT_1 = 0x8,
395     D3D_SIF_TEXTURE_COMPONENTS = 0xc,
396     D3D_SIF_UNUSED = 0x10,
397     D3D10_SIF_USERPACKED = D3D_SIF_USERPACKED,
398     D3D10_SIF_COMPARISON_SAMPLER = D3D_SIF_COMPARISON_SAMPLER,
399     D3D10_SIF_TEXTURE_COMPONENT_0 = D3D_SIF_TEXTURE_COMPONENT_0,
400     D3D10_SIF_TEXTURE_COMPONENT_1 = D3D_SIF_TEXTURE_COMPONENT_1,
401     D3D10_SIF_TEXTURE_COMPONENTS = D3D_SIF_TEXTURE_COMPONENTS,
402     D3D_SIF_FORCE_DWORD = 0x7fffffff
403 } D3D_SHADER_INPUT_FLAGS;
404 typedef enum D3D_PRIMITIVE {
405     D3D_PRIMITIVE_UNDEFINED = 0,
406     D3D_PRIMITIVE_POINT = 1,
407     D3D_PRIMITIVE_LINE = 2,
408     D3D_PRIMITIVE_TRIANGLE = 3,
409     D3D_PRIMITIVE_LINE_ADJ = 6,
410     D3D_PRIMITIVE_TRIANGLE_ADJ = 7,
411     D3D_PRIMITIVE_1_CONTROL_POINT_PATCH = 8,
412     D3D_PRIMITIVE_2_CONTROL_POINT_PATCH = 9,
413     D3D_PRIMITIVE_3_CONTROL_POINT_PATCH = 10,
414     D3D_PRIMITIVE_4_CONTROL_POINT_PATCH = 11,
415     D3D_PRIMITIVE_5_CONTROL_POINT_PATCH = 12,
416     D3D_PRIMITIVE_6_CONTROL_POINT_PATCH = 13,
417     D3D_PRIMITIVE_7_CONTROL_POINT_PATCH = 14,
418     D3D_PRIMITIVE_8_CONTROL_POINT_PATCH = 15,
419     D3D_PRIMITIVE_9_CONTROL_POINT_PATCH = 16,
420     D3D_PRIMITIVE_10_CONTROL_POINT_PATCH = 17,
421     D3D_PRIMITIVE_11_CONTROL_POINT_PATCH = 18,
422     D3D_PRIMITIVE_12_CONTROL_POINT_PATCH = 19,
423     D3D_PRIMITIVE_13_CONTROL_POINT_PATCH = 20,
424     D3D_PRIMITIVE_14_CONTROL_POINT_PATCH = 21,
425     D3D_PRIMITIVE_15_CONTROL_POINT_PATCH = 22,
426     D3D_PRIMITIVE_16_CONTROL_POINT_PATCH = 23,
427     D3D_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
428     D3D_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
429     D3D_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
430     D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
431     D3D_PRIMITIVE_21_CONTROL_POINT_PATCH = 29,
432     D3D_PRIMITIVE_22_CONTROL_POINT_PATCH = 30,
433     D3D_PRIMITIVE_23_CONTROL_POINT_PATCH = 31,
434     D3D_PRIMITIVE_24_CONTROL_POINT_PATCH = 32,
435     D3D_PRIMITIVE_25_CONTROL_POINT_PATCH = 33,
436     D3D_PRIMITIVE_26_CONTROL_POINT_PATCH = 34,
437     D3D_PRIMITIVE_27_CONTROL_POINT_PATCH = 35,
438     D3D_PRIMITIVE_28_CONTROL_POINT_PATCH = 36,
439     D3D_PRIMITIVE_29_CONTROL_POINT_PATCH = 37,
440     D3D_PRIMITIVE_30_CONTROL_POINT_PATCH = 38,
441     D3D_PRIMITIVE_31_CONTROL_POINT_PATCH = 39,
442     D3D_PRIMITIVE_32_CONTROL_POINT_PATCH = 40,
443     D3D10_PRIMITIVE_UNDEFINED = 0,
444     D3D10_PRIMITIVE_POINT = 1,
445     D3D10_PRIMITIVE_LINE = 2,
446     D3D10_PRIMITIVE_TRIANGLE = 3,
447     D3D10_PRIMITIVE_LINE_ADJ = 6,
448     D3D10_PRIMITIVE_TRIANGLE_ADJ = 7,
449     D3D11_PRIMITIVE_UNDEFINED = 0,
450     D3D11_PRIMITIVE_POINT = 1,
451     D3D11_PRIMITIVE_LINE = 2,
452     D3D11_PRIMITIVE_TRIANGLE = 3,
453     D3D11_PRIMITIVE_LINE_ADJ = 6,
454     D3D11_PRIMITIVE_TRIANGLE_ADJ = 7,
455     D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH = 8,
456     D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH = 9,
457     D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH = 10,
458     D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH = 11,
459     D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH = 12,
460     D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH = 13,
461     D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH = 14,
462     D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH = 15,
463     D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH = 16,
464     D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH = 17,
465     D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH = 18,
466     D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH = 19,
467     D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH = 20,
468     D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH = 21,
469     D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH = 22,
470     D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH = 23,
471     D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
472     D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
473     D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
474     D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
475     D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH = 29,
476     D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH = 30,
477     D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH = 31,
478     D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH = 32,
479     D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH = 33,
480     D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH = 34,
481     D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH = 35,
482     D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH = 36,
483     D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH = 37,
484     D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH = 38,
485     D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH = 39,
486     D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH = 40
487 } D3D_PRIMITIVE;
488 typedef enum D3D_PRIMITIVE_TOPOLOGY {
489     D3D_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
490     D3D_PRIMITIVE_TOPOLOGY_POINTLIST = 1,
491     D3D_PRIMITIVE_TOPOLOGY_LINELIST = 2,
492     D3D_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
493     D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
494     D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
495     D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
496     D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
497     D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
498     D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13,
499     D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33,
500     D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34,
501     D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35,
502     D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36,
503     D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37,
504     D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38,
505     D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39,
506     D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40,
507     D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41,
508     D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42,
509     D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43,
510     D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44,
511     D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45,
512     D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46,
513     D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47,
514     D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48,
515     D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49,
516     D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50,
517     D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51,
518     D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52,
519     D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53,
520     D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54,
521     D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55,
522     D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56,
523     D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57,
524     D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58,
525     D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59,
526     D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60,
527     D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61,
528     D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62,
529     D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63,
530     D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64,
531     D3D10_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
532     D3D10_PRIMITIVE_TOPOLOGY_POINTLIST = 1,
533     D3D10_PRIMITIVE_TOPOLOGY_LINELIST = 2,
534     D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
535     D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
536     D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
537     D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
538     D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
539     D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
540     D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13,
541     D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
542     D3D11_PRIMITIVE_TOPOLOGY_POINTLIST = 1,
543     D3D11_PRIMITIVE_TOPOLOGY_LINELIST = 2,
544     D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
545     D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
546     D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
547     D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
548     D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
549     D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
550     D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13,
551     D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33,
552     D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34,
553     D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35,
554     D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36,
555     D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37,
556     D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38,
557     D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39,
558     D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40,
559     D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41,
560     D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42,
561     D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43,
562     D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44,
563     D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45,
564     D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46,
565     D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47,
566     D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48,
567     D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49,
568     D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50,
569     D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51,
570     D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52,
571     D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53,
572     D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54,
573     D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55,
574     D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56,
575     D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57,
576     D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58,
577     D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59,
578     D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60,
579     D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61,
580     D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62,
581     D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63,
582     D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64
583 } D3D_PRIMITIVE_TOPOLOGY;
584 typedef enum D3D_TESSELLATOR_DOMAIN {
585     D3D_TESSELLATOR_DOMAIN_UNDEFINED = 0,
586     D3D_TESSELLATOR_DOMAIN_ISOLINE = 1,
587     D3D_TESSELLATOR_DOMAIN_TRI = 2,
588     D3D_TESSELLATOR_DOMAIN_QUAD = 3,
589     D3D11_TESSELLATOR_DOMAIN_UNDEFINED = 0,
590     D3D11_TESSELLATOR_DOMAIN_ISOLINE = 1,
591     D3D11_TESSELLATOR_DOMAIN_TRI = 2,
592     D3D11_TESSELLATOR_DOMAIN_QUAD = 3
593 } D3D_TESSELLATOR_DOMAIN;
594 typedef enum D3D_TESSELLATOR_PARTITIONING {
595     D3D_TESSELLATOR_PARTITIONING_UNDEFINED = 0,
596     D3D_TESSELLATOR_PARTITIONING_INTEGER = 1,
597     D3D_TESSELLATOR_PARTITIONING_POW2 = 2,
598     D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = 3,
599     D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = 4,
600     D3D11_TESSELLATOR_PARTITIONING_UNDEFINED = 0,
601     D3D11_TESSELLATOR_PARTITIONING_INTEGER = 1,
602     D3D11_TESSELLATOR_PARTITIONING_POW2 = 2,
603     D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = 3,
604     D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = 4
605 } D3D_TESSELLATOR_PARTITIONING;
606 typedef enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE {
607     D3D_TESSELLATOR_OUTPUT_UNDEFINED = 0,
608     D3D_TESSELLATOR_OUTPUT_POINT = 1,
609     D3D_TESSELLATOR_OUTPUT_LINE = 2,
610     D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW = 3,
611     D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW = 4,
612     D3D11_TESSELLATOR_OUTPUT_UNDEFINED = 0,
613     D3D11_TESSELLATOR_OUTPUT_POINT = 1,
614     D3D11_TESSELLATOR_OUTPUT_LINE = 2,
615     D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CW = 3,
616     D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CCW = 4
617 } D3D_TESSELLATOR_OUTPUT_PRIMITIVE;
618 typedef enum D3D_CBUFFER_TYPE {
619     D3D_CT_CBUFFER = 0,
620     D3D_CT_TBUFFER = 1,
621     D3D_CT_INTERFACE_POINTERS = 2,
622     D3D_CT_RESOURCE_BIND_INFO = 3,
623     D3D10_CT_CBUFFER = 0,
624     D3D10_CT_TBUFFER = 1,
625     D3D11_CT_CBUFFER = 0,
626     D3D11_CT_TBUFFER = 1,
627     D3D11_CT_INTERFACE_POINTERS = 2,
628     D3D11_CT_RESOURCE_BIND_INFO = 3
629 } D3D_CBUFFER_TYPE;
630 typedef enum D3D_SRV_DIMENSION {
631     D3D_SRV_DIMENSION_UNKNOWN = 0,
632     D3D_SRV_DIMENSION_BUFFER = 1,
633     D3D_SRV_DIMENSION_TEXTURE1D = 2,
634     D3D_SRV_DIMENSION_TEXTURE1DARRAY = 3,
635     D3D_SRV_DIMENSION_TEXTURE2D = 4,
636     D3D_SRV_DIMENSION_TEXTURE2DARRAY = 5,
637     D3D_SRV_DIMENSION_TEXTURE2DMS = 6,
638     D3D_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
639     D3D_SRV_DIMENSION_TEXTURE3D = 8,
640     D3D_SRV_DIMENSION_TEXTURECUBE = 9,
641     D3D_SRV_DIMENSION_TEXTURECUBEARRAY = 10,
642     D3D_SRV_DIMENSION_BUFFEREX = 11,
643     D3D10_SRV_DIMENSION_UNKNOWN = 0,
644     D3D10_SRV_DIMENSION_BUFFER = 1,
645     D3D10_SRV_DIMENSION_TEXTURE1D = 2,
646     D3D10_SRV_DIMENSION_TEXTURE1DARRAY = 3,
647     D3D10_SRV_DIMENSION_TEXTURE2D = 4,
648     D3D10_SRV_DIMENSION_TEXTURE2DARRAY = 5,
649     D3D10_SRV_DIMENSION_TEXTURE2DMS = 6,
650     D3D10_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
651     D3D10_SRV_DIMENSION_TEXTURE3D = 8,
652     D3D10_SRV_DIMENSION_TEXTURECUBE = 9,
653     D3D10_1_SRV_DIMENSION_UNKNOWN = 0,
654     D3D10_1_SRV_DIMENSION_BUFFER = 1,
655     D3D10_1_SRV_DIMENSION_TEXTURE1D = 2,
656     D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY = 3,
657     D3D10_1_SRV_DIMENSION_TEXTURE2D = 4,
658     D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY = 5,
659     D3D10_1_SRV_DIMENSION_TEXTURE2DMS = 6,
660     D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
661     D3D10_1_SRV_DIMENSION_TEXTURE3D = 8,
662     D3D10_1_SRV_DIMENSION_TEXTURECUBE = 9,
663     D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY = 10,
664     D3D11_SRV_DIMENSION_UNKNOWN = 0,
665     D3D11_SRV_DIMENSION_BUFFER = 1,
666     D3D11_SRV_DIMENSION_TEXTURE1D = 2,
667     D3D11_SRV_DIMENSION_TEXTURE1DARRAY = 3,
668     D3D11_SRV_DIMENSION_TEXTURE2D = 4,
669     D3D11_SRV_DIMENSION_TEXTURE2DARRAY = 5,
670     D3D11_SRV_DIMENSION_TEXTURE2DMS = 6,
671     D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
672     D3D11_SRV_DIMENSION_TEXTURE3D = 8,
673     D3D11_SRV_DIMENSION_TEXTURECUBE = 9,
674     D3D11_SRV_DIMENSION_TEXTURECUBEARRAY = 10,
675     D3D11_SRV_DIMENSION_BUFFEREX = 11
676 } D3D_SRV_DIMENSION;
677 typedef enum D3D_REGISTER_COMPONENT_TYPE {
678     D3D_REGISTER_COMPONENT_UNKNOWN = 0,
679     D3D_REGISTER_COMPONENT_UINT32 = 1,
680     D3D_REGISTER_COMPONENT_SINT32 = 2,
681     D3D_REGISTER_COMPONENT_FLOAT32 = 3,
682     D3D10_REGISTER_COMPONENT_UNKNOWN = 0,
683     D3D10_REGISTER_COMPONENT_UINT32 = 1,
684     D3D10_REGISTER_COMPONENT_SINT32 = 2,
685     D3D10_REGISTER_COMPONENT_FLOAT32 = 3
686 } D3D_REGISTER_COMPONENT_TYPE;
687 typedef enum D3D_RESOURCE_RETURN_TYPE {
688     D3D_RETURN_TYPE_UNORM = 1,
689     D3D_RETURN_TYPE_SNORM = 2,
690     D3D_RETURN_TYPE_SINT = 3,
691     D3D_RETURN_TYPE_UINT = 4,
692     D3D_RETURN_TYPE_FLOAT = 5,
693     D3D_RETURN_TYPE_MIXED = 6,
694     D3D_RETURN_TYPE_DOUBLE = 7,
695     D3D_RETURN_TYPE_CONTINUED = 8,
696     D3D10_RETURN_TYPE_UNORM = 1,
697     D3D10_RETURN_TYPE_SNORM = 2,
698     D3D10_RETURN_TYPE_SINT = 3,
699     D3D10_RETURN_TYPE_UINT = 4,
700     D3D10_RETURN_TYPE_FLOAT = 5,
701     D3D10_RETURN_TYPE_MIXED = 6,
702     D3D11_RETURN_TYPE_UNORM = 1,
703     D3D11_RETURN_TYPE_SNORM = 2,
704     D3D11_RETURN_TYPE_SINT = 3,
705     D3D11_RETURN_TYPE_UINT = 4,
706     D3D11_RETURN_TYPE_FLOAT = 5,
707     D3D11_RETURN_TYPE_MIXED = 6,
708     D3D11_RETURN_TYPE_DOUBLE = 7,
709     D3D11_RETURN_TYPE_CONTINUED = 8
710 } D3D_RESOURCE_RETURN_TYPE;
711 typedef enum D3D_NAME {
712     D3D_NAME_UNDEFINED = 0,
713     D3D_NAME_POSITION = 1,
714     D3D_NAME_CLIP_DISTANCE = 2,
715     D3D_NAME_CULL_DISTANCE = 3,
716     D3D_NAME_RENDER_TARGET_ARRAY_INDEX = 4,
717     D3D_NAME_VIEWPORT_ARRAY_INDEX = 5,
718     D3D_NAME_VERTEX_ID = 6,
719     D3D_NAME_PRIMITIVE_ID = 7,
720     D3D_NAME_INSTANCE_ID = 8,
721     D3D_NAME_IS_FRONT_FACE = 9,
722     D3D_NAME_SAMPLE_INDEX = 10,
723     D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR = 11,
724     D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR = 12,
725     D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR = 13,
726     D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR = 14,
727     D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR = 15,
728     D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR = 16,
729     D3D_NAME_TARGET = 64,
730     D3D_NAME_DEPTH = 65,
731     D3D_NAME_COVERAGE = 66,
732     D3D_NAME_DEPTH_GREATER_EQUAL = 67,
733     D3D_NAME_DEPTH_LESS_EQUAL = 68,
734     D3D10_NAME_UNDEFINED = 0,
735     D3D10_NAME_POSITION = 1,
736     D3D10_NAME_CLIP_DISTANCE = 2,
737     D3D10_NAME_CULL_DISTANCE = 3,
738     D3D10_NAME_RENDER_TARGET_ARRAY_INDEX = 4,
739     D3D10_NAME_VIEWPORT_ARRAY_INDEX = 5,
740     D3D10_NAME_VERTEX_ID = 6,
741     D3D10_NAME_PRIMITIVE_ID = 7,
742     D3D10_NAME_INSTANCE_ID = 8,
743     D3D10_NAME_IS_FRONT_FACE = 9,
744     D3D10_NAME_SAMPLE_INDEX = 10,
745     D3D11_NAME_FINAL_QUAD_EDGE_TESSFACTOR = 11,
746     D3D11_NAME_FINAL_QUAD_INSIDE_TESSFACTOR = 12,
747     D3D11_NAME_FINAL_TRI_EDGE_TESSFACTOR = 13,
748     D3D11_NAME_FINAL_TRI_INSIDE_TESSFACTOR = 14,
749     D3D11_NAME_FINAL_LINE_DETAIL_TESSFACTOR = 15,
750     D3D11_NAME_FINAL_LINE_DENSITY_TESSFACTOR = 16,
751     D3D10_NAME_TARGET = 64,
752     D3D10_NAME_DEPTH = 65,
753     D3D10_NAME_COVERAGE = 66,
754     D3D11_NAME_DEPTH_GREATER_EQUAL = 67,
755     D3D11_NAME_DEPTH_LESS_EQUAL = 68
756 } D3D_NAME;
757 typedef enum _D3D_SHADER_INPUT_TYPE {
758     D3D_SIT_CBUFFER = 0,
759     D3D_SIT_TBUFFER = 1,
760     D3D_SIT_TEXTURE = 2,
761     D3D_SIT_SAMPLER = 3,
762     D3D_SIT_UAV_RWTYPED = 4,
763     D3D_SIT_STRUCTURED = 5,
764     D3D_SIT_UAV_RWSTRUCTURED = 6,
765     D3D_SIT_BYTEADDRESS = 7,
766     D3D_SIT_UAV_RWBYTEADDRESS = 8,
767     D3D_SIT_UAV_APPEND_STRUCTURED = 9,
768     D3D_SIT_UAV_CONSUME_STRUCTURED = 10,
769     D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER = 11,
770     D3D10_SIT_CBUFFER = 0,
771     D3D10_SIT_TBUFFER = 1,
772     D3D10_SIT_TEXTURE = 2,
773     D3D10_SIT_SAMPLER = 3,
774     D3D11_SIT_UAV_RWTYPED = 4,
775     D3D11_SIT_STRUCTURED = 5,
776     D3D11_SIT_UAV_RWSTRUCTURED = 6,
777     D3D11_SIT_BYTEADDRESS = 7,
778     D3D11_SIT_UAV_RWBYTEADDRESS = 8,
779     D3D11_SIT_UAV_APPEND_STRUCTURED = 9,
780     D3D11_SIT_UAV_CONSUME_STRUCTURED = 10,
781     D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER = 11
782 } D3D_SHADER_INPUT_TYPE;
783 typedef enum _D3D_SHADER_CBUFFER_FLAGS {
784     D3D_CBF_USERPACKED = 0x1,
785     D3D10_CBF_USERPACKED = D3D_CBF_USERPACKED,
786     D3D_CBF_FORCE_DWORD = 0x7fffffff
787 } D3D_SHADER_CBUFFER_FLAGS;
788 DEFINE_GUID(WKPDID_D3DDebugObjectName,0x429b8c22,0x9188,0x4b0c,0x87,0x42,0xac,0xb0,0xbf,0x85,0xc2,0x00);
789 /* Begin additional prototypes for all interfaces */
790 
791 
792 /* End additional prototypes */
793 
794 #ifdef __cplusplus
795 }
796 #endif
797 
798 #endif /* __d3dcommon_h__ */
799