Exzap says to use StringHelpers, and int instead of float

This commit is contained in:
Niko 2022-08-27 14:49:29 -04:00
parent 239c458a14
commit 5df72b4425
3 changed files with 7 additions and 6 deletions

View file

@ -46,7 +46,7 @@ uint32 VulkanPipelineStableCache::BeginLoading(uint64 cacheTitleId)
m_numCompilationThreads = std::clamp(cpuCoreCount, 1u, 8u);
if (g_renderer->GetVendor() == GfxVendor::Nvidia)
{
if (VulkanRenderer::GetInstance()->GetDriverVersion() < 515.0f)
if(VulkanRenderer::GetInstance()->GetDriverVersion() < 515)
{
forceLog_printf("Disable multi-threaded pipeline loading due to an issue with Nvidia drivers");
m_numCompilationThreads = 1;