turnip: Set the VK_DRIVER_ID to our new enum.
This hasn't been exposed yet, but would be with vulkan 1.2 or VK_KHR_driver_properties Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13007>
This commit is contained in:
parent
cc6954ec0b
commit
61b7ca2a1f
|
@ -759,7 +759,7 @@ tu_get_physical_device_properties_1_2(struct tu_physical_device *pdevice,
|
|||
{
|
||||
assert(p->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES);
|
||||
|
||||
p->driverID = 0; /* XXX: VK 1.2: Need to get a value assigned */
|
||||
p->driverID = VK_DRIVER_ID_MESA_TURNIP;
|
||||
memset(p->driverName, 0, sizeof(p->driverName));
|
||||
snprintf(p->driverName, VK_MAX_DRIVER_NAME_SIZE_KHR,
|
||||
"turnip Mesa driver");
|
||||
|
|
Loading…
Reference in New Issue