MCPcopy Create free account
hub / github.com/GPUOpen-Tools/GPU-Reshape / Uninstall

Method Uninstall

Source/Backends/DX12/Layer/Source/Device.cpp:858–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856}
857
858void GlobalDeviceDetour::Uninstall() {
859 // Detach from detour
860 DetourDetach(&reinterpret_cast<void*&>(D3D12GPUOpenFunctionTableNext.next_D3D12GetInterfaceOriginal), reinterpret_cast<void*>(HookD3D12GetInterface));
861 DetourDetach(&reinterpret_cast<void*&>(D3D12GPUOpenFunctionTableNext.next_D3D12CreateDeviceOriginal), reinterpret_cast<void*>(HookID3D12CreateDevice));
862 DetourDetach(&reinterpret_cast<void*&>(D3D12GPUOpenFunctionTableNext.next_EnableExperimentalFeatures), reinterpret_cast<void*>(HookD3D12EnableExperimentalFeatures));
863}
864
865void BridgeDeviceSyncPoint(DeviceState *device, CommandQueueState* queueState) {
866 // Commit all logging to bridge

Callers 3

DllMainFunction · 0.45
~DeviceStateMethod · 0.45
~DiscoveryServiceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected