mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 22:11:18 +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
|
@ -46,8 +46,11 @@ uint32 VulkanPipelineStableCache::BeginLoading(uint64 cacheTitleId)
|
|||
m_numCompilationThreads = std::clamp(cpuCoreCount, 1u, 8u);
|
||||
if (g_renderer->GetVendor() == GfxVendor::Nvidia)
|
||||
{
|
||||
forceLog_printf("Disable multi-threaded pipeline loading due to an issue with Nvidia drivers");
|
||||
m_numCompilationThreads = 1;
|
||||
if (VulkanRenderer::GetInstance()->GetDriverVersion() < 515.0f)
|
||||
{
|
||||
forceLog_printf("Disable multi-threaded pipeline loading due to an issue with Nvidia drivers");
|
||||
m_numCompilationThreads = 1;
|
||||
}
|
||||
}
|
||||
for (uint32 i = 0; i < m_numCompilationThreads; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue