mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-11 17:28:29 +12:00
change driverVersion to m_featureControl bool
This commit is contained in:
parent
5df72b4425
commit
8ca3154ca3
3 changed files with 14 additions and 15 deletions
|
@ -201,15 +201,15 @@ void VulkanRenderer::DetermineVendor()
|
|||
forceLog_printf("Driver version: %s", driverProperties.driverInfo);
|
||||
|
||||
// needed for multithreaded pipelines on nvidia (requires 515 or higher)
|
||||
driverVersion = StringHelpers::ToInt(std::string(driverProperties.driverInfo));
|
||||
m_featureControl.disableMultithreadedCompilation = (StringHelpers::ToInt(std::string(driverProperties.driverInfo)) < 515);
|
||||
}
|
||||
|
||||
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 = -1;
|
||||
// disableMultithreadedCompilation defaults to false, not like there's any other driver
|
||||
// on the planet with broken multithreading except Nvidia, which will always have a driver version string
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue