Vulkan: set gpu->coreCount

This commit is contained in:
Carter Li
2022-09-17 01:47:56 +08:00
parent bb3689b348
commit 3d4ce07892
+1
View File
@@ -191,6 +191,7 @@ static const char* detectVulkan(const FFinstance* instance, FFVulkanResult* resu
//No way to detect those using vulkan
ffStrbufInit(&gpu->vendor);
ffStrbufInit(&gpu->driver);
gpu->coreCount = FF_GPU_CORE_COUNT_UNSET;
gpu->temperature = FF_GPU_TEMP_UNSET;
}