gfxstream: use VK_DRIVER_ID_MESA_GFXSTREAM as driver id

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41932>
This commit is contained in:
Serdar Kocdemir 2026-06-01 15:14:15 +01:00 committed by Marge Bot
parent 85c12604b9
commit 475d1ea274

View file

@ -2234,10 +2234,7 @@ void ResourceTracker::on_vkGetPhysicalDeviceProperties2(void* context,
VkPhysicalDeviceDriverProperties* driverProps =
vk_find_struct(pProperties, PHYSICAL_DEVICE_DRIVER_PROPERTIES);
if (driverProps) {
#if DETECT_OS_ANDROID
//TODO(b/502904616): change with VK_DRIVER_ID_MESA_GFXSTREAM when the headers are updated
driverProps->driverID = VK_DRIVER_ID_MESA_LLVMPIPE;
#endif
driverProps->driverID = VK_DRIVER_ID_MESA_GFXSTREAM;
snprintf(driverProps->driverName, sizeof(driverProps->driverName), "gfxstream");
snprintf(driverProps->driverInfo, sizeof(driverProps->driverInfo),
"Mesa " PACKAGE_VERSION MESA_GIT_SHA1);