mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
venus: fix VK_KHR_driver_properties
VK-GL-CTS 1.2.7.1 does not really recognize VK_DRIVER_ID_MESA_VENUS, but it is harmless to lie. Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14749>
This commit is contained in:
parent
24144f6f5c
commit
4d15b52783
1 changed files with 5 additions and 5 deletions
|
|
@ -679,15 +679,15 @@ vn_physical_device_init_properties(struct vn_physical_device *physical_dev)
|
|||
}
|
||||
memcpy(props->deviceName, device_name, device_name_len + 1);
|
||||
|
||||
vk12_props->driverID = 0;
|
||||
vk12_props->driverID = VK_DRIVER_ID_MESA_VENUS;
|
||||
snprintf(vk12_props->driverName, sizeof(vk12_props->driverName), "venus");
|
||||
snprintf(vk12_props->driverInfo, sizeof(vk12_props->driverInfo),
|
||||
"Mesa " PACKAGE_VERSION MESA_GIT_SHA1);
|
||||
vk12_props->conformanceVersion = (VkConformanceVersionKHR){
|
||||
.major = 0,
|
||||
.minor = 0,
|
||||
.subminor = 0,
|
||||
.patch = 0,
|
||||
.major = 1,
|
||||
.minor = 2,
|
||||
.subminor = 7,
|
||||
.patch = 1,
|
||||
};
|
||||
|
||||
vn_physical_device_init_uuids(physical_dev);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue