mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests: Introduce get_llvm_driver_version().
This commit is contained in:
committed by
Henri Verbeet
parent
42016ab09c
commit
41515b7047
Notes:
Henri Verbeet
2025-10-06 19:48:45 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1768
@@ -523,4 +523,10 @@ static inline bool get_nvidia_driver_version(const VkPhysicalDeviceProperties *d
|
||||
return true;
|
||||
}
|
||||
|
||||
static inline bool get_llvm_driver_version(const VkPhysicalDeviceProperties *device_properties,
|
||||
uint32_t *major, uint32_t *minor, uint32_t *patch)
|
||||
{
|
||||
return find_version_string(device_properties->deviceName, "LLVM ", major, minor, patch);
|
||||
}
|
||||
|
||||
#endif /* __VKD3D_VULKAN_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user