mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-11 17:28:29 +12:00
attempt fix nvidia multithread pipeline
This commit is contained in:
parent
01c58555f3
commit
239c458a14
3 changed files with 22 additions and 4 deletions
|
@ -194,10 +194,22 @@ void VulkanRenderer::DetermineVendor()
|
|||
m_vendor = GfxVendor::Mesa;
|
||||
|
||||
forceLog_printf("Using GPU: %s", properties.properties.deviceName);
|
||||
|
||||
if (m_featureControl.deviceExtensions.driver_properties)
|
||||
forceLog_printf("Driver version: %s", driverProperties.driverInfo)
|
||||
{
|
||||
forceLog_printf("Driver version: %s", driverProperties.driverInfo);
|
||||
|
||||
// needed for multithreaded pipelines on nvidia (requires 515.0 or higher)
|
||||
sscanf(driverProperties.driverInfo, "%f", &driverVersion);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
forceLog_printf("Driver version (as stored in device info): %08X", properties.properties.driverVersion);
|
||||
|
||||
// disables multithreaded pipeline loading on nvidia (requires 515.0 or higher)
|
||||
driverVersion = 0.0f;
|
||||
}
|
||||
}
|
||||
|
||||
void VulkanRenderer::GetDeviceFeatures()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue