]> git.notmuchmail.org Git - apitrace/blob - specs/d3d11sdklayers.py
d3dretrace: Recognize IDirect3DDevice9Ex::PresentEx as frame terminator.
[apitrace] / specs / d3d11sdklayers.py
1 ##########################################################################
2 #
3 # Copyright 2012 Jose Fonseca
4 # All Rights Reserved.
5 #
6 # Permission is hereby granted, free of charge, to any person obtaining a copy
7 # of this software and associated documentation files (the "Software"), to deal
8 # in the Software without restriction, including without limitation the rights
9 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 # copies of the Software, and to permit persons to whom the Software is
11 # furnished to do so, subject to the following conditions:
12 #
13 # The above copyright notice and this permission notice shall be included in
14 # all copies or substantial portions of the Software.
15 #
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 # THE SOFTWARE.
23 #
24 ##########################################################################/
25
26
27 from dxgi import *
28
29
30 ID3D11DeviceChild = Interface("ID3D11DeviceChild", IUnknown)
31 ID3D11DeviceContext = Interface("ID3D11DeviceContext", ID3D11DeviceChild)
32
33
34 D3D11_DEBUG_FEATURE = Flags(UINT, [
35     "D3D11_DEBUG_FEATURE_FLUSH_PER_RENDER_OP",
36     "D3D11_DEBUG_FEATURE_FINISH_PER_RENDER_OP",
37     "D3D11_DEBUG_FEATURE_PRESENT_PER_RENDER_OP",
38 ])
39
40 D3D11_RLDO_FLAGS = Enum("D3D11_RLDO_FLAGS", [
41     "D3D11_RLDO_SUMMARY",
42     "D3D11_RLDO_DETAIL",
43 ])
44
45 ID3D11Debug = Interface("ID3D11Debug", IUnknown)
46 ID3D11Debug.methods += [
47     StdMethod(HRESULT, "SetFeatureMask", [(D3D11_DEBUG_FEATURE, "Mask")]),
48     StdMethod(D3D11_DEBUG_FEATURE, "GetFeatureMask", [], sideeffects=False),
49     StdMethod(HRESULT, "SetPresentPerRenderOpDelay", [(UINT, "Milliseconds")]),
50     StdMethod(UINT, "GetPresentPerRenderOpDelay", [], sideeffects=False),
51     StdMethod(HRESULT, "SetSwapChain", [(ObjPointer(IDXGISwapChain), "pSwapChain")]),
52     StdMethod(HRESULT, "GetSwapChain", [Out(Pointer(ObjPointer(IDXGISwapChain)), "ppSwapChain")]),
53     StdMethod(HRESULT, "ValidateContext", [(ObjPointer(ID3D11DeviceContext), "pContext")]),
54     StdMethod(HRESULT, "ReportLiveDeviceObjects", [(D3D11_RLDO_FLAGS, "Flags")]),
55     StdMethod(HRESULT, "ValidateContextForDispatch", [(ObjPointer(ID3D11DeviceContext), "pContext")]),
56 ]
57
58 ID3D11SwitchToRef = Interface("ID3D11SwitchToRef", IUnknown)
59 ID3D11SwitchToRef.methods += [
60     StdMethod(BOOL, "SetUseRef", [(BOOL, "UseRef")]),
61     StdMethod(BOOL, "GetUseRef", [], sideeffects=False),
62 ]
63
64 D3D11_MESSAGE_CATEGORY = Enum("D3D11_MESSAGE_CATEGORY", [
65     "D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINED",
66     "D3D11_MESSAGE_CATEGORY_MISCELLANEOUS",
67     "D3D11_MESSAGE_CATEGORY_INITIALIZATION",
68     "D3D11_MESSAGE_CATEGORY_CLEANUP",
69     "D3D11_MESSAGE_CATEGORY_COMPILATION",
70     "D3D11_MESSAGE_CATEGORY_STATE_CREATION",
71     "D3D11_MESSAGE_CATEGORY_STATE_SETTING",
72     "D3D11_MESSAGE_CATEGORY_STATE_GETTING",
73     "D3D11_MESSAGE_CATEGORY_RESOURCE_MANIPULATION",
74     "D3D11_MESSAGE_CATEGORY_EXECUTION",
75 ])
76
77 D3D11_MESSAGE_SEVERITY = Enum("D3D11_MESSAGE_SEVERITY", [
78     "D3D11_MESSAGE_SEVERITY_CORRUPTION",
79     "D3D11_MESSAGE_SEVERITY_ERROR",
80     "D3D11_MESSAGE_SEVERITY_WARNING",
81     "D3D11_MESSAGE_SEVERITY_INFO",
82 ])
83
84 D3D11_MESSAGE_ID = Enum("D3D11_MESSAGE_ID", [
85     "D3D11_MESSAGE_ID_UNKNOWN",
86     "D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD",
87     "D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD",
88     "D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD",
89     "D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD",
90     "D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD",
91     "D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD",
92     "D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD",
93     "D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD",
94     "D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD",
95     "D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD",
96     "D3D11_MESSAGE_ID_STRING_FROM_APPLICATION",
97     "D3D11_MESSAGE_ID_CORRUPTED_THIS",
98     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER1",
99     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER2",
100     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER3",
101     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER4",
102     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER5",
103     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER6",
104     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER7",
105     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER8",
106     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER9",
107     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER10",
108     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER11",
109     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER12",
110     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER13",
111     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER14",
112     "D3D11_MESSAGE_ID_CORRUPTED_PARAMETER15",
113     "D3D11_MESSAGE_ID_CORRUPTED_MULTITHREADING",
114     "D3D11_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY",
115     "D3D11_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT",
116     "D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT",
117     "D3D11_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT",
118     "D3D11_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT",
119     "D3D11_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT",
120     "D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT",
121     "D3D11_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT",
122     "D3D11_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT",
123     "D3D11_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT",
124     "D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT",
125     "D3D11_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT",
126     "D3D11_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT",
127     "D3D11_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT",
128     "D3D11_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT",
129     "D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT",
130     "D3D11_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT",
131     "D3D11_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT",
132     "D3D11_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT",
133     "D3D11_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT",
134     "D3D11_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT",
135     "D3D11_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT",
136     "D3D11_MESSAGE_ID_GETPRIVATEDATA_MOREDATA",
137     "D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA",
138     "D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN",
139     "D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS",
140     "D3D11_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS",
141     "D3D11_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY",
142     "D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT",
143     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES",
144     "D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE",
145     "D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS",
146     "D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS",
147     "D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS",
148     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS",
149     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS",
150     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA",
151     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS",
152     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS",
153     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS",
154     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN",
155     "D3D11_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN",
156     "D3D11_MESSAGE_ID_CREATEBUFFER_NULLDESC",
157     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS",
158     "D3D11_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION",
159     "D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT",
160     "D3D11_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT",
161     "D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES",
162     "D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE",
163     "D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS",
164     "D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS",
165     "D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS",
166     "D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS",
167     "D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS",
168     "D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA",
169     "D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS",
170     "D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS",
171     "D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS",
172     "D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN",
173     "D3D11_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN",
174     "D3D11_MESSAGE_ID_CREATETEXTURE1D_NULLDESC",
175     "D3D11_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION",
176     "D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT",
177     "D3D11_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT",
178     "D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES",
179     "D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE",
180     "D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS",
181     "D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS",
182     "D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS",
183     "D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS",
184     "D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS",
185     "D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA",
186     "D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS",
187     "D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS",
188     "D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS",
189     "D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN",
190     "D3D11_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN",
191     "D3D11_MESSAGE_ID_CREATETEXTURE2D_NULLDESC",
192     "D3D11_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION",
193     "D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT",
194     "D3D11_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT",
195     "D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES",
196     "D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE",
197     "D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS",
198     "D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS",
199     "D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS",
200     "D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS",
201     "D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS",
202     "D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA",
203     "D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS",
204     "D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS",
205     "D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS",
206     "D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN",
207     "D3D11_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN",
208     "D3D11_MESSAGE_ID_CREATETEXTURE3D_NULLDESC",
209     "D3D11_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION",
210     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT",
211     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC",
212     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT",
213     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS",
214     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE",
215     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS",
216     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN",
217     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN",
218     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT",
219     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT",
220     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC",
221     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT",
222     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS",
223     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE",
224     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS",
225     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN",
226     "D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN",
227     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT",
228     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC",
229     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT",
230     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS",
231     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE",
232     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS",
233     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN",
234     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN",
235     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY",
236     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS",
237     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT",
238     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT",
239     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT",
240     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS",
241     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH",
242     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE",
243     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE",
244     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT",
245     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC",
246     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE",
247     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC",
248     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT",
249     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC",
250     "D3D11_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY",
251     "D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE",
252     "D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE",
253     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY",
254     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE",
255     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE",
256     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY",
257     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE",
258     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE",
259     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES",
260     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED",
261     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL",
262     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL",
263     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED",
264     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT",
265     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT",
266     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT",
267     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT",
268     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION",
269     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT",
270     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE",
271     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC",
272     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH",
273     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS",
274     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX",
275     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE",
276     "D3D11_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY",
277     "D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE",
278     "D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE",
279     "D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE",
280     "D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE",
281     "D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP",
282     "D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS",
283     "D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS",
284     "D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC",
285     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK",
286     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC",
287     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP",
288     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP",
289     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP",
290     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC",
291     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP",
292     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP",
293     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP",
294     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC",
295     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS",
296     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC",
297     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND",
298     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND",
299     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP",
300     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA",
301     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA",
302     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA",
303     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK",
304     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS",
305     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC",
306     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER",
307     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU",
308     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV",
309     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW",
310     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS",
311     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY",
312     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC",
313     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD",
314     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD",
315     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS",
316     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC",
317     "D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY",
318     "D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS",
319     "D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG",
320     "D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC",
321     "D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED",
322     "D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED",
323     "D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER",
324     "D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE",
325     "D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY",
326     "D3D11_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER",
327     "D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID",
328     "D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE",
329     "D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED",
330     "D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY",
331     "D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER",
332     "D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY",
333     "D3D11_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY",
334     "D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY",
335     "D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER",
336     "D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY",
337     "D3D11_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY",
338     "D3D11_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER",
339     "D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED",
340     "D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY",
341     "D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER",
342     "D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY",
343     "D3D11_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY",
344     "D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT",
345     "D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR",
346     "D3D11_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH",
347     "D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH",
348     "D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID",
349     "D3D11_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY",
350     "D3D11_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY",
351     "D3D11_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY",
352     "D3D11_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY",
353     "D3D11_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY",
354     "D3D11_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY",
355     "D3D11_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY",
356     "D3D11_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY",
357     "D3D11_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY",
358     "D3D11_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY",
359     "D3D11_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY",
360     "D3D11_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY",
361     "D3D11_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY",
362     "D3D11_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID",
363     "D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE",
364     "D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE",
365     "D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX",
366     "D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE",
367     "D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE",
368     "D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE",
369     "D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE",
370     "D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE",
371     "D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE",
372     "D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE",
373     "D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX",
374     "D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE",
375     "D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID",
376     "D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID",
377     "D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID",
378     "D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID",
379     "D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID",
380     "D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE",
381     "D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS",
382     "D3D11_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED",
383     "D3D11_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN",
384     "D3D11_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED",
385     "D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE",
386     "D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE",
387     "D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS",
388     "D3D11_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED",
389     "D3D11_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN",
390     "D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE",
391     "D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED",
392     "D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE",
393     "D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE",
394     "D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS",
395     "D3D11_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED",
396     "D3D11_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN",
397     "D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE",
398     "D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED",
399     "D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE",
400     "D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE",
401     "D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS",
402     "D3D11_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED",
403     "D3D11_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN",
404     "D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE",
405     "D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED",
406     "D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED",
407     "D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED",
408     "D3D11_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS",
409     "D3D11_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN",
410     "D3D11_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN",
411     "D3D11_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE",
412     "D3D11_MESSAGE_ID_REF_THREADING_MODE",
413     "D3D11_MESSAGE_ID_REF_UMDRIVER_EXCEPTION",
414     "D3D11_MESSAGE_ID_REF_KMDRIVER_EXCEPTION",
415     "D3D11_MESSAGE_ID_REF_HARDWARE_EXCEPTION",
416     "D3D11_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE",
417     "D3D11_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER",
418     "D3D11_MESSAGE_ID_REF_OUT_OF_MEMORY",
419     "D3D11_MESSAGE_ID_REF_INFO",
420     "D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW",
421     "D3D11_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW",
422     "D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW",
423     "D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW",
424     "D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW",
425     "D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW",
426     "D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET",
427     "D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND",
428     "D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX",
429     "D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE",
430     "D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK",
431     "D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE",
432     "D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS",
433     "D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET",
434     "D3D11_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET",
435     "D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET",
436     "D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL",
437     "D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET",
438     "D3D11_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET",
439     "D3D11_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH",
440     "D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL",
441     "D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL",
442     "D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET",
443     "D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID",
444     "D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL",
445     "D3D11_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH",
446     "D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH",
447     "D3D11_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT",
448     "D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET",
449     "D3D11_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED",
450     "D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY",
451     "D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED",
452     "D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED",
453     "D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED",
454     "D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED",
455     "D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED",
456     "D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED",
457     "D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED",
458     "D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED",
459     "D3D11_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE",
460     "D3D11_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER",
461     "D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING",
462     "D3D11_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0",
463     "D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT",
464     "D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT",
465     "D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT",
466     "D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN",
467     "D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN",
468     "D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN",
469     "D3D11_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET",
470     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC",
471     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC",
472     "D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH",
473     "D3D11_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW",
474     "D3D11_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS",
475     "D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH",
476     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH",
477     "D3D11_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY",
478     "D3D11_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY",
479     "D3D11_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN",
480     "D3D11_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN",
481     "D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER",
482     "D3D11_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED",
483     "D3D11_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER",
484     "D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN",
485     "D3D11_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN",
486     "D3D11_MESSAGE_ID_CREATECOUNTER_NULLDESC",
487     "D3D11_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER",
488     "D3D11_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER",
489     "D3D11_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE",
490     "D3D11_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED",
491     "D3D11_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION",
492     "D3D11_MESSAGE_ID_QUERY_BEGIN_DUPLICATE",
493     "D3D11_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS",
494     "D3D11_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION",
495     "D3D11_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS",
496     "D3D11_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN",
497     "D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE",
498     "D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS",
499     "D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL",
500     "D3D11_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH",
501     "D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED",
502     "D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN",
503     "D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE",
504     "D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE",
505     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT",
506     "D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH",
507     "D3D11_MESSAGE_ID_D3D10_MESSAGES_END",
508     "D3D11_MESSAGE_ID_D3D10L9_MESSAGES_START",
509     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED",
510     "D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED",
511     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT",
512     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY",
513     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE",
514     "D3D11_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED",
515     "D3D11_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS",
516     "D3D11_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS",
517     "D3D11_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS",
518     "D3D11_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND",
519     "D3D11_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D",
520     "D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE",
521     "D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE",
522     "D3D11_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS",
523     "D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS",
524     "D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX",
525     "D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS",
526     "D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED",
527     "D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS",
528     "D3D11_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY",
529     "D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK",
530     "D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK",
531     "D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT",
532     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE",
533     "D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE",
534     "D3D11_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE",
535     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD",
536     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL",
537     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX",
538     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO",
539     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES",
540     "D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET",
541     "D3D11_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER",
542     "D3D11_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE",
543     "D3D11_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE",
544     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE",
545     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS",
546     "D3D11_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT",
547     "D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS",
548     "D3D11_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES",
549     "D3D11_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED",
550     "D3D11_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED",
551     "D3D11_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED",
552     "D3D11_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED",
553     "D3D11_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED",
554     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND",
555     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND",
556     "D3D11_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED",
557     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE",
558     "D3D11_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED",
559     "D3D11_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3",
560     "D3D11_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED",
561     "D3D11_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO",
562     "D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION",
563     "D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED",
564     "D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR",
565     "D3D11_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA",
566     "D3D11_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP",
567     "D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED",
568     "D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT",
569     "D3D11_MESSAGE_ID_D3D10L9_MESSAGES_END",
570     "D3D11_MESSAGE_ID_D3D11_MESSAGES_START",
571     "D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFLAGS",
572     "D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDCLASSLINKAGE",
573     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE",
574     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTREAMS",
575     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER",
576     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTREAMS",
577     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCLASSLINKAGE",
578     "D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDCLASSLINKAGE",
579     "D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_COMMANDLISTFLAGS",
580     "D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_SINGLETHREADED",
581     "D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALIDARG_RETURN",
582     "D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_CALL_RETURN",
583     "D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_OUTOFMEMORY_RETURN",
584     "D3D11_MESSAGE_ID_FINISHDISPLAYLIST_ONIMMEDIATECONTEXT",
585     "D3D11_MESSAGE_ID_FINISHDISPLAYLIST_OUTOFMEMORY_RETURN",
586     "D3D11_MESSAGE_ID_FINISHDISPLAYLIST_INVALID_CALL_RETURN",
587     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM",
588     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES",
589     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES",
590     "D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES",
591     "D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_HAZARD",
592     "D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_HAZARD",
593     "D3D11_MESSAGE_ID_HSSETSHADERRESOURCES_UNBINDDELETINGOBJECT",
594     "D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT",
595     "D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCALL",
596     "D3D11_MESSAGE_ID_CREATEHULLSHADER_OUTOFMEMORY",
597     "D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERBYTECODE",
598     "D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERTYPE",
599     "D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCLASSLINKAGE",
600     "D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_VIEWS_EMPTY",
601     "D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFER",
602     "D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_BUFFERS_EMPTY",
603     "D3D11_MESSAGE_ID_DEVICE_HSSETSAMPLERS_SAMPLERS_EMPTY",
604     "D3D11_MESSAGE_ID_DEVICE_HSGETSHADERRESOURCES_VIEWS_EMPTY",
605     "D3D11_MESSAGE_ID_DEVICE_HSGETCONSTANTBUFFERS_BUFFERS_EMPTY",
606     "D3D11_MESSAGE_ID_DEVICE_HSGETSAMPLERS_SAMPLERS_EMPTY",
607     "D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_HAZARD",
608     "D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_HAZARD",
609     "D3D11_MESSAGE_ID_DSSETSHADERRESOURCES_UNBINDDELETINGOBJECT",
610     "D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT",
611     "D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCALL",
612     "D3D11_MESSAGE_ID_CREATEDOMAINSHADER_OUTOFMEMORY",
613     "D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERBYTECODE",
614     "D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERTYPE",
615     "D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCLASSLINKAGE",
616     "D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_VIEWS_EMPTY",
617     "D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFER",
618     "D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_BUFFERS_EMPTY",
619     "D3D11_MESSAGE_ID_DEVICE_DSSETSAMPLERS_SAMPLERS_EMPTY",
620     "D3D11_MESSAGE_ID_DEVICE_DSGETSHADERRESOURCES_VIEWS_EMPTY",
621     "D3D11_MESSAGE_ID_DEVICE_DSGETCONSTANTBUFFERS_BUFFERS_EMPTY",
622     "D3D11_MESSAGE_ID_DEVICE_DSGETSAMPLERS_SAMPLERS_EMPTY",
623     "D3D11_MESSAGE_ID_DEVICE_DRAW_HS_XOR_DS_MISMATCH",
624     "D3D11_MESSAGE_ID_DEFERRED_CONTEXT_REMOVAL_PROCESS_AT_FAULT",
625     "D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_INVALID_ARG_BUFFER",
626     "D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_UNALIGNED",
627     "D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_OVERFLOW",
628     "D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDMAPTYPE",
629     "D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDSUBRESOURCE",
630     "D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDFLAGS",
631     "D3D11_MESSAGE_ID_RESOURCE_MAP_ALREADYMAPPED",
632     "D3D11_MESSAGE_ID_RESOURCE_MAP_DEVICEREMOVED_RETURN",
633     "D3D11_MESSAGE_ID_RESOURCE_MAP_OUTOFMEMORY_RETURN",
634     "D3D11_MESSAGE_ID_RESOURCE_MAP_WITHOUT_INITIAL_DISCARD",
635     "D3D11_MESSAGE_ID_RESOURCE_UNMAP_INVALIDSUBRESOURCE",
636     "D3D11_MESSAGE_ID_RESOURCE_UNMAP_NOTMAPPED",
637     "D3D11_MESSAGE_ID_DEVICE_DRAW_RASTERIZING_CONTROL_POINTS",
638     "D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNSUPPORTED",
639     "D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_SIGNATURE_MISMATCH",
640     "D3D11_MESSAGE_ID_DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH",
641     "D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_CONTROL_POINT_COUNT_MISMATCH",
642     "D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_TESSELLATOR_DOMAIN_MISMATCH",
643     "D3D11_MESSAGE_ID_CREATE_CONTEXT",
644     "D3D11_MESSAGE_ID_LIVE_CONTEXT",
645     "D3D11_MESSAGE_ID_DESTROY_CONTEXT",
646     "D3D11_MESSAGE_ID_CREATE_BUFFER",
647     "D3D11_MESSAGE_ID_LIVE_BUFFER",
648     "D3D11_MESSAGE_ID_DESTROY_BUFFER",
649     "D3D11_MESSAGE_ID_CREATE_TEXTURE1D",
650     "D3D11_MESSAGE_ID_LIVE_TEXTURE1D",
651     "D3D11_MESSAGE_ID_DESTROY_TEXTURE1D",
652     "D3D11_MESSAGE_ID_CREATE_TEXTURE2D",
653     "D3D11_MESSAGE_ID_LIVE_TEXTURE2D",
654     "D3D11_MESSAGE_ID_DESTROY_TEXTURE2D",
655     "D3D11_MESSAGE_ID_CREATE_TEXTURE3D",
656     "D3D11_MESSAGE_ID_LIVE_TEXTURE3D",
657     "D3D11_MESSAGE_ID_DESTROY_TEXTURE3D",
658     "D3D11_MESSAGE_ID_CREATE_SHADERRESOURCEVIEW",
659     "D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW",
660     "D3D11_MESSAGE_ID_DESTROY_SHADERRESOURCEVIEW",
661     "D3D11_MESSAGE_ID_CREATE_RENDERTARGETVIEW",
662     "D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW",
663     "D3D11_MESSAGE_ID_DESTROY_RENDERTARGETVIEW",
664     "D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILVIEW",
665     "D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW",
666     "D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILVIEW",
667     "D3D11_MESSAGE_ID_CREATE_VERTEXSHADER",
668     "D3D11_MESSAGE_ID_LIVE_VERTEXSHADER",
669     "D3D11_MESSAGE_ID_DESTROY_VERTEXSHADER",
670     "D3D11_MESSAGE_ID_CREATE_HULLSHADER",
671     "D3D11_MESSAGE_ID_LIVE_HULLSHADER",
672     "D3D11_MESSAGE_ID_DESTROY_HULLSHADER",
673     "D3D11_MESSAGE_ID_CREATE_DOMAINSHADER",
674     "D3D11_MESSAGE_ID_LIVE_DOMAINSHADER",
675     "D3D11_MESSAGE_ID_DESTROY_DOMAINSHADER",
676     "D3D11_MESSAGE_ID_CREATE_GEOMETRYSHADER",
677     "D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER",
678     "D3D11_MESSAGE_ID_DESTROY_GEOMETRYSHADER",
679     "D3D11_MESSAGE_ID_CREATE_PIXELSHADER",
680     "D3D11_MESSAGE_ID_LIVE_PIXELSHADER",
681     "D3D11_MESSAGE_ID_DESTROY_PIXELSHADER",
682     "D3D11_MESSAGE_ID_CREATE_INPUTLAYOUT",
683     "D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT",
684     "D3D11_MESSAGE_ID_DESTROY_INPUTLAYOUT",
685     "D3D11_MESSAGE_ID_CREATE_SAMPLER",
686     "D3D11_MESSAGE_ID_LIVE_SAMPLER",
687     "D3D11_MESSAGE_ID_DESTROY_SAMPLER",
688     "D3D11_MESSAGE_ID_CREATE_BLENDSTATE",
689     "D3D11_MESSAGE_ID_LIVE_BLENDSTATE",
690     "D3D11_MESSAGE_ID_DESTROY_BLENDSTATE",
691     "D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILSTATE",
692     "D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE",
693     "D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILSTATE",
694     "D3D11_MESSAGE_ID_CREATE_RASTERIZERSTATE",
695     "D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE",
696     "D3D11_MESSAGE_ID_DESTROY_RASTERIZERSTATE",
697     "D3D11_MESSAGE_ID_CREATE_QUERY",
698     "D3D11_MESSAGE_ID_LIVE_QUERY",
699     "D3D11_MESSAGE_ID_DESTROY_QUERY",
700     "D3D11_MESSAGE_ID_CREATE_PREDICATE",
701     "D3D11_MESSAGE_ID_LIVE_PREDICATE",
702     "D3D11_MESSAGE_ID_DESTROY_PREDICATE",
703     "D3D11_MESSAGE_ID_CREATE_COUNTER",
704     "D3D11_MESSAGE_ID_LIVE_COUNTER",
705     "D3D11_MESSAGE_ID_DESTROY_COUNTER",
706     "D3D11_MESSAGE_ID_CREATE_COMMANDLIST",
707     "D3D11_MESSAGE_ID_LIVE_COMMANDLIST",
708     "D3D11_MESSAGE_ID_DESTROY_COMMANDLIST",
709     "D3D11_MESSAGE_ID_CREATE_CLASSINSTANCE",
710     "D3D11_MESSAGE_ID_LIVE_CLASSINSTANCE",
711     "D3D11_MESSAGE_ID_DESTROY_CLASSINSTANCE",
712     "D3D11_MESSAGE_ID_CREATE_CLASSLINKAGE",
713     "D3D11_MESSAGE_ID_LIVE_CLASSLINKAGE",
714     "D3D11_MESSAGE_ID_DESTROY_CLASSLINKAGE",
715     "D3D11_MESSAGE_ID_LIVE_DEVICE",
716     "D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY",
717     "D3D11_MESSAGE_ID_CREATE_COMPUTESHADER",
718     "D3D11_MESSAGE_ID_LIVE_COMPUTESHADER",
719     "D3D11_MESSAGE_ID_DESTROY_COMPUTESHADER",
720     "D3D11_MESSAGE_ID_CREATE_UNORDEREDACCESSVIEW",
721     "D3D11_MESSAGE_ID_LIVE_UNORDEREDACCESSVIEW",
722     "D3D11_MESSAGE_ID_DESTROY_UNORDEREDACCESSVIEW",
723     "D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACES_FEATURELEVEL",
724     "D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACE_COUNT_MISMATCH",
725     "D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE",
726     "D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_INDEX",
727     "D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_TYPE",
728     "D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_DATA",
729     "D3D11_MESSAGE_ID_DEVICE_SETSHADER_UNBOUND_INSTANCE_DATA",
730     "D3D11_MESSAGE_ID_DEVICE_SETSHADER_INSTANCE_DATA_BINDINGS",
731     "D3D11_MESSAGE_ID_DEVICE_CREATESHADER_CLASSLINKAGE_FULL",
732     "D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_UNRECOGNIZED_FEATURE",
733     "D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE",
734     "D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_INVALIDARG_RETURN",
735     "D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_HAZARD",
736     "D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_HAZARD",
737     "D3D11_MESSAGE_ID_CSSETSHADERRESOURCES_UNBINDDELETINGOBJECT",
738     "D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT",
739     "D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCALL",
740     "D3D11_MESSAGE_ID_CREATECOMPUTESHADER_OUTOFMEMORY",
741     "D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE",
742     "D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERTYPE",
743     "D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCLASSLINKAGE",
744     "D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_VIEWS_EMPTY",
745     "D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFER",
746     "D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_BUFFERS_EMPTY",
747     "D3D11_MESSAGE_ID_DEVICE_CSSETSAMPLERS_SAMPLERS_EMPTY",
748     "D3D11_MESSAGE_ID_DEVICE_CSGETSHADERRESOURCES_VIEWS_EMPTY",
749     "D3D11_MESSAGE_ID_DEVICE_CSGETCONSTANTBUFFERS_BUFFERS_EMPTY",
750     "D3D11_MESSAGE_ID_DEVICE_CSGETSAMPLERS_SAMPLERS_EMPTY",
751     "D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED",
752     "D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED",
753     "D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED",
754     "D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED",
755     "D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED",
756     "D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED",
757     "D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED",
758     "D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSTRUCTURESTRIDE",
759     "D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFLAGS",
760     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE",
761     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDESC",
762     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT",
763     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS",
764     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT",
765     "D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_HAZARD",
766     "D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_OVERLAPPING_OLD_SLOTS",
767     "D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NO_OP",
768     "D3D11_MESSAGE_ID_CSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT",
769     "D3D11_MESSAGE_ID_PSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT",
770     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDARG_RETURN",
771     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_OUTOFMEMORY_RETURN",
772     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_TOOMANYOBJECTS",
773     "D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_HAZARD",
774     "D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_DENORMFLUSH",
775     "D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSS_VIEWS_EMPTY",
776     "D3D11_MESSAGE_ID_DEVICE_CSGETUNORDEREDACCESSS_VIEWS_EMPTY",
777     "D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS",
778     "D3D11_MESSAGE_ID_CREATESHADERRESESOURCEVIEW_TOOMANYOBJECTS",
779     "D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_INVALID_ARG_BUFFER",
780     "D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_UNALIGNED",
781     "D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_OVERFLOW",
782     "D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDCONTEXT",
783     "D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDRESOURCE",
784     "D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDMINLOD",
785     "D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDCONTEXT",
786     "D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDRESOURCE",
787     "D3D11_MESSAGE_ID_OMSETDEPTHSTENCIL_UNBINDDELETINGOBJECT",
788     "D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DEPTH_READONLY",
789     "D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_STENCIL_READONLY",
790     "D3D11_MESSAGE_ID_CHECKFEATURESUPPORT_FORMAT_DEPRECATED",
791     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RETURN_TYPE_MISMATCH",
792     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET",
793     "D3D11_MESSAGE_ID_DEVICE_DRAW_UNORDEREDACCESSVIEW_RENDERTARGETVIEW_OVERLAP",
794     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_DIMENSION_MISMATCH",
795     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_APPEND_UNSUPPORTED",
796     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMICS_UNSUPPORTED",
797     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_STRUCTURE_STRIDE_MISMATCH",
798     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_BUFFER_TYPE_MISMATCH",
799     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RAW_UNSUPPORTED",
800     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_LD_UNSUPPORTED",
801     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_STORE_UNSUPPORTED",
802     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_ADD_UNSUPPORTED",
803     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_BITWISE_OPS_UNSUPPORTED",
804     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_CMPSTORE_CMPEXCHANGE_UNSUPPORTED",
805     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_EXCHANGE_UNSUPPORTED",
806     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_SIGNED_MINMAX_UNSUPPORTED",
807     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_UNSIGNED_MINMAX_UNSUPPORTED",
808     "D3D11_MESSAGE_ID_DEVICE_DISPATCH_BOUND_RESOURCE_MAPPED",
809     "D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_OVERFLOW",
810     "D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_ZERO",
811     "D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_STRUCTURE_STRIDE_MISMATCH",
812     "D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_BUFFER_TYPE_MISMATCH",
813     "D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_RAW_UNSUPPORTED",
814     "D3D11_MESSAGE_ID_DEVICE_DISPATCH_UNSUPPORTED",
815     "D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_UNSUPPORTED",
816     "D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDOFFSET",
817     "D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_LARGEOFFSET",
818     "D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDDESTINATIONSTATE",
819     "D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDSOURCESTATE",
820     "D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_NOT_SUPPORTED",
821     "D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDVIEW",
822     "D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDOFFSET",
823     "D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_TOOMANYVIEWS",
824     "D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_INVALIDFORMAT",
825     "D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_COUNTER_UNSUPPORTED",
826     "D3D11_MESSAGE_ID_REF_WARNING",
827     "D3D11_MESSAGE_ID_D3D11_MESSAGES_END",
828 ])
829
830 D3D11_MESSAGE = Struct("D3D11_MESSAGE", [
831     (D3D11_MESSAGE_CATEGORY, "Category"),
832     (D3D11_MESSAGE_SEVERITY, "Severity"),
833     (D3D11_MESSAGE_ID, "ID"),
834     (Pointer(Const(Int)), "pDescription"),
835     (SIZE_T, "DescriptionByteLength"),
836 ])
837
838 D3D11_INFO_QUEUE_FILTER_DESC = Struct("D3D11_INFO_QUEUE_FILTER_DESC", [
839     (UINT, "NumCategories"),
840     (Pointer(D3D11_MESSAGE_CATEGORY), "pCategoryList"),
841     (UINT, "NumSeverities"),
842     (Pointer(D3D11_MESSAGE_SEVERITY), "pSeverityList"),
843     (UINT, "NumIDs"),
844     (Pointer(D3D11_MESSAGE_ID), "pIDList"),
845 ])
846
847 D3D11_INFO_QUEUE_FILTER = Struct("D3D11_INFO_QUEUE_FILTER", [
848     (D3D11_INFO_QUEUE_FILTER_DESC, "AllowList"),
849     (D3D11_INFO_QUEUE_FILTER_DESC, "DenyList"),
850 ])
851
852 ID3D11InfoQueue = Interface("ID3D11InfoQueue", IUnknown)
853 ID3D11InfoQueue.methods += [
854     StdMethod(HRESULT, "SetMessageCountLimit", [(UINT64, "MessageCountLimit")], sideeffects=False),
855     StdMethod(Void, "ClearStoredMessages", [], sideeffects=False),
856     StdMethod(HRESULT, "GetMessage", [(UINT64, "MessageIndex"), Out(Pointer(D3D11_MESSAGE), "pMessage"), Out(Pointer(SIZE_T), "pMessageByteLength")], sideeffects=False),
857     StdMethod(UINT64, "GetNumMessagesAllowedByStorageFilter", [], sideeffects=False),
858     StdMethod(UINT64, "GetNumMessagesDeniedByStorageFilter", [], sideeffects=False),
859     StdMethod(UINT64, "GetNumStoredMessages", [], sideeffects=False),
860     StdMethod(UINT64, "GetNumStoredMessagesAllowedByRetrievalFilter", [], sideeffects=False),
861     StdMethod(UINT64, "GetNumMessagesDiscardedByMessageCountLimit", [], sideeffects=False),
862     StdMethod(UINT64, "GetMessageCountLimit", [], sideeffects=False),
863     StdMethod(HRESULT, "AddStorageFilterEntries", [(Pointer(D3D11_INFO_QUEUE_FILTER), "pFilter")], sideeffects=False),
864     StdMethod(HRESULT, "GetStorageFilter", [Out(Pointer(D3D11_INFO_QUEUE_FILTER), "pFilter"), Out(Pointer(SIZE_T), "pFilterByteLength")], sideeffects=False),
865     StdMethod(Void, "ClearStorageFilter", [], sideeffects=False),
866     StdMethod(HRESULT, "PushEmptyStorageFilter", [], sideeffects=False),
867     StdMethod(HRESULT, "PushCopyOfStorageFilter", [], sideeffects=False),
868     StdMethod(HRESULT, "PushStorageFilter", [(Pointer(D3D11_INFO_QUEUE_FILTER), "pFilter")], sideeffects=False),
869     StdMethod(Void, "PopStorageFilter", [], sideeffects=False),
870     StdMethod(UINT, "GetStorageFilterStackSize", [], sideeffects=False),
871     StdMethod(HRESULT, "AddRetrievalFilterEntries", [(Pointer(D3D11_INFO_QUEUE_FILTER), "pFilter")], sideeffects=False),
872     StdMethod(HRESULT, "GetRetrievalFilter", [Out(Pointer(D3D11_INFO_QUEUE_FILTER), "pFilter"), Out(Pointer(SIZE_T), "pFilterByteLength")], sideeffects=False),
873     StdMethod(Void, "ClearRetrievalFilter", [], sideeffects=False),
874     StdMethod(HRESULT, "PushEmptyRetrievalFilter", [], sideeffects=False),
875     StdMethod(HRESULT, "PushCopyOfRetrievalFilter", [], sideeffects=False),
876     StdMethod(HRESULT, "PushRetrievalFilter", [(Pointer(D3D11_INFO_QUEUE_FILTER), "pFilter")], sideeffects=False),
877     StdMethod(Void, "PopRetrievalFilter", [], sideeffects=False),
878     StdMethod(UINT, "GetRetrievalFilterStackSize", [], sideeffects=False),
879     StdMethod(HRESULT, "AddMessage", [(D3D11_MESSAGE_CATEGORY, "Category"), (D3D11_MESSAGE_SEVERITY, "Severity"), (D3D11_MESSAGE_ID, "ID"), (LPCSTR, "pDescription")], sideeffects=False),
880     StdMethod(HRESULT, "AddApplicationMessage", [(D3D11_MESSAGE_SEVERITY, "Severity"), (LPCSTR, "pDescription")], sideeffects=False),
881     StdMethod(HRESULT, "SetBreakOnCategory", [(D3D11_MESSAGE_CATEGORY, "Category"), (BOOL, "bEnable")], sideeffects=False),
882     StdMethod(HRESULT, "SetBreakOnSeverity", [(D3D11_MESSAGE_SEVERITY, "Severity"), (BOOL, "bEnable")], sideeffects=False),
883     StdMethod(HRESULT, "SetBreakOnID", [(D3D11_MESSAGE_ID, "ID"), (BOOL, "bEnable")], sideeffects=False),
884     StdMethod(BOOL, "GetBreakOnCategory", [(D3D11_MESSAGE_CATEGORY, "Category")], sideeffects=False),
885     StdMethod(BOOL, "GetBreakOnSeverity", [(D3D11_MESSAGE_SEVERITY, "Severity")], sideeffects=False),
886     StdMethod(BOOL, "GetBreakOnID", [(D3D11_MESSAGE_ID, "ID")], sideeffects=False),
887     StdMethod(Void, "SetMuteDebugOutput", [(BOOL, "bMute")], sideeffects=False),
888     StdMethod(BOOL, "GetMuteDebugOutput", [], sideeffects=False),
889 ]
890