dzn: fill in driver name and info

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16998>
This commit is contained in:
Erik Faye-Lund 2022-06-13 13:47:51 +02:00
parent 0580910aa9
commit 4d7403d4dc
1 changed files with 6 additions and 1 deletions

View File

@ -42,6 +42,8 @@
#include "dxil_validator.h"
#include "git_sha1.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
@ -1575,10 +1577,13 @@ dzn_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
STATIC_ASSERT(sizeof(pdevice->desc.adapter_luid) == sizeof(core_1_1.deviceLUID));
const VkPhysicalDeviceVulkan12Properties core_1_2 = {
VkPhysicalDeviceVulkan12Properties core_1_2 = {
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES,
};
snprintf(core_1_2.driverName, VK_MAX_DRIVER_NAME_SIZE, "Dozen");
snprintf(core_1_2.driverInfo, VK_MAX_DRIVER_INFO_SIZE, "Mesa " PACKAGE_VERSION MESA_GIT_SHA1);
const VkPhysicalDeviceVulkan13Properties core_1_3 = {
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES,
};