Vulkan: fixes driver name concatenation on multi-GPU systems (#2620)

* Vulkan: fixes driver name concatenation on multi-GPU systems

applyDriverName appended to the result buffer without clearing it. When
a later device reported a higher API version, its driver name was
appended to the name of the earlier device instead of replacing it, as
the comment in detectVulkan intends.

* CHANGELOG: moves the #2615 entry to Unreleased

#2616 was opened after 2.69.0 had been released, but its entry was
written under 2.69.0 Bugfixes, so the changelog listed the fix as part
of 2.69.0.
This commit is contained in:
İhsan Deniz
2026-09-27 03:35:20 +03:00
committed by GitHub
parent 9801d89316
commit 676dbcfee2
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -19,6 +19,8 @@ static inline void applyVulkanVersion(uint32_t vulkanVersion, FFVersion* ffVersi
}
static void applyDriverName(VkPhysicalDeviceDriverPropertiesKHR* properties, FFstrbuf* result) {
ffStrbufClear(result);
if (!ffStrSet(properties->driverName)) {
return;
}