mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 20:30:25 +01:00
turnip: Stop hardcoding the msm version check.
This commit is contained in:
parent
d9c3dc8ec8
commit
3d99dd55a0
1 changed files with 2 additions and 1 deletions
|
|
@ -179,7 +179,8 @@ tu_physical_device_init(struct tu_physical_device *device,
|
|||
"device %s does not use the msm kernel driver", path);
|
||||
}
|
||||
|
||||
if (version->version_major != 1 || version->version_minor < 3) {
|
||||
if (version->version_major != min_version_major ||
|
||||
version->version_minor < min_version_minor) {
|
||||
result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
|
||||
"kernel driver for device %s has version %d.%d, "
|
||||
"but Vulkan requires version >= %d.%d",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue