mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 17:08:20 +02:00
Set driver ID for gfxstream
This is temporarily using the main software backend's driver id to ensure a valid status on CTS. It'll be updated once the vulkan headers are updated with mr 8272 on khronos side. Test: dEQP-VK.api.driver_properties#driver_id_match Reviewed-by: David Gilhooley <djgilhooley@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41656>
This commit is contained in:
parent
00261e5d00
commit
e71d6dc06d
1 changed files with 4 additions and 0 deletions
|
|
@ -2233,6 +2233,10 @@ 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
|
||||
snprintf(driverProps->driverName, sizeof(driverProps->driverName), "gfxstream");
|
||||
snprintf(driverProps->driverInfo, sizeof(driverProps->driverInfo),
|
||||
"Mesa " PACKAGE_VERSION MESA_GIT_SHA1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue