mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-24 08:21:35 +00:00
Only enable RGP capturing when AMD GPU is in use
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user