From 3d4ce078923cd9efe98d884a3b6b1fc0f8c473ed Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sat, 17 Sep 2022 01:47:56 +0800 Subject: [PATCH] Vulkan: set `gpu->coreCount` --- src/detection/vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/vulkan.c b/src/detection/vulkan.c index 108101174..944a5c8ed 100644 --- a/src/detection/vulkan.c +++ b/src/detection/vulkan.c @@ -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; }