From 6dc42aa31fb5a4810cf97b4903f59aa1fa3c89c3 Mon Sep 17 00:00:00 2001 From: lobotomyx Date: Mon, 5 Aug 2024 20:20:59 -0400 Subject: [PATCH] Update iid.cpp add missing d3d11on12 and d3d11commandlist IIDs for identifying and debugging reshade --- iid.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iid.cpp b/iid.cpp index 2a63fcb76..ebae180dd 100644 --- a/iid.cpp +++ b/iid.cpp @@ -48,7 +48,9 @@ struct IID_name { // DirectX (for informational / debugging purposes only): DEFINE_GUID(IID_ReShadeD3D10Device, 0x88399375, 0x734F, 0x4892, 0xA9, 0x5F, 0x70, 0xDD, 0x42, 0xCE, 0x7C, 0xDD); DEFINE_GUID(IID_ReShadeD3D11Device, 0x72299288, 0x2C68, 0x4AD8, 0x94, 0x5D, 0x2B, 0xFB, 0x5A, 0xA9, 0xC6, 0x09); +DEFINE_GUID(IID_ReShadeD3D11on12Device, 0x6BE8CF18, 0x2108, 0x4506, 0xAA, 0xA0, 0xAD, 0x5A, 0x29, 0x81, 0x2A, 0x31); DEFINE_GUID(IID_ReShadeD3D11DeviceContext, 0x27B0246B, 0x2152, 0x4D42, 0xAD, 0x11, 0x32, 0x48, 0x94, 0x72, 0x23, 0x8F); +DEFINE_GUID(IID_ReShadeD3D11CommandList, 0x592F5E83, 0xA17B, 0x4EEB, 0xA2, 0xBF, 0x75, 0x68, 0xDA, 0x2A, 0x37, 0x28); DEFINE_GUID(IID_ReShadeDXGIDevice, 0xCB285C3B, 0x3677, 0x4332, 0x98, 0xC7, 0xD6, 0x33, 0x9B, 0x97, 0x82, 0xB1); DEFINE_GUID(IID_ReShadeDXGISwapChain, 0x1F445F9F, 0x9887, 0x4C4C, 0x90, 0x55, 0x4E, 0x3B, 0xAD, 0xAF, 0xCC, 0xA8); DEFINE_GUID(IID_SpecialKD3D11DeviceContext, 0xe8a22a3f, 0x1405, 0x424c, 0xae, 0x99, 0x0d, 0x3e, 0x9d, 0x54, 0x7c, 0x32); // Returns the unwrapped device @@ -64,7 +66,9 @@ static const struct IID_name known_interfaces[] = { // Third party tools: IID(ReShadeD3D10Device), IID(ReShadeD3D11Device), + IID(ReShadeD3D11on12Device), IID(ReShadeD3D11DeviceContext), + IID(ReShadeD3D11CommandList), IID(ReShadeDXGIDevice), IID(ReShadeDXGISwapChain), IID(SpecialKD3D11DeviceContext),