nvk: set deviceName

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Karol Herbst 2022-08-08 22:01:28 +02:00 committed by Marge Bot
parent dc1f87864d
commit 84830a1725

View file

@ -129,6 +129,9 @@ nvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
/* More properties */
};
snprintf(pProperties->properties.deviceName, sizeof(pProperties->properties.deviceName),
"%s", pdevice->dev->device_name);
VkPhysicalDeviceVulkan11Properties core_1_1 = {
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES,
/* Vulkan 1.1 properties */