[PATCH 2/2] d3dcompiler: Add more ID3D11ShaderReflection interface IIDs.

Andrey Gusev andrey.goosev at gmail.com
Fri Jan 25 10:24:24 CST 2019


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 include/d3d11shader.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/d3d11shader.h b/include/d3d11shader.h
index f9c3b9511e..479020abbe 100644
--- a/include/d3d11shader.h
+++ b/include/d3d11shader.h
@@ -174,7 +174,13 @@ DECLARE_INTERFACE(ID3D11ShaderReflectionConstantBuffer)
 };
 #undef INTERFACE
 
+#if D3D_COMPILER_VERSION <= 42
+DEFINE_GUID(IID_ID3D11ShaderReflection, 0x17f27486, 0xa342, 0x4d10, 0x88, 0x42, 0xab, 0x08, 0x74, 0xe7, 0xf6, 0x70);
+#elif D3D_COMPILER_VERSION == 43
 DEFINE_GUID(IID_ID3D11ShaderReflection, 0x0a233719, 0x3960, 0x4578, 0x9d, 0x7c, 0x20, 0x3b, 0x8b, 0x1d, 0x9c, 0xc1);
+#else
+DEFINE_GUID(IID_ID3D11ShaderReflection, 0x8d536ca1, 0x0cca, 0x4956, 0xa8, 0x37, 0x78, 0x69, 0x63, 0x75, 0x55, 0x84);
+#endif
 
 #define INTERFACE ID3D11ShaderReflection
 DECLARE_INTERFACE_(ID3D11ShaderReflection, IUnknown)
@@ -202,6 +208,7 @@ DECLARE_INTERFACE_(ID3D11ShaderReflection, IUnknown)
     STDMETHOD_(UINT, GetNumInterfaceSlots)(THIS) PURE;
     STDMETHOD(GetMinFeatureLevel)(THIS_ enum D3D_FEATURE_LEVEL *level) PURE;
     STDMETHOD_(UINT, GetThreadGroupSize)(THIS_ UINT *sizex, UINT *sizey, UINT *sizez) PURE;
+    STDMETHOD_(UINT64, GetRequiresFlags)(THIS) PURE;
 };
 #undef INTERFACE
 
-- 
2.20.1




More information about the wine-devel mailing list