Only enable RGP capturing when AMD GPU is in use

This commit is contained in:
baldurk
2020-01-08 19:10:52 +00:00
parent 8b851679a8
commit 8235ac7e6f
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -272,7 +272,8 @@ APIProperties D3D12Replay::GetAPIProperties()
ret.vendor = m_DriverInfo.vendor;
ret.degraded = false;
ret.shadersMutable = false;
ret.rgpCapture = m_RGP != NULL && m_RGP->DriverSupportsInterop();
ret.rgpCapture =
m_DriverInfo.vendor == GPUVendor::AMD && m_RGP != NULL && m_RGP->DriverSupportsInterop();
return ret;
}
+2 -1
View File
@@ -184,7 +184,8 @@ APIProperties VulkanReplay::GetAPIProperties()
ret.localRenderer = GraphicsAPI::Vulkan;
ret.degraded = false;
ret.shadersMutable = false;
ret.rgpCapture = m_RGP != NULL && m_RGP->DriverSupportsInterop();
ret.rgpCapture =
m_DriverInfo.vendor == GPUVendor::AMD && m_RGP != NULL && m_RGP->DriverSupportsInterop();
return ret;
}