anv: Drop "not yet supported" warning for Xe2

Backport-to: 24.2
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31011>
This commit is contained in:
Jordan Justen
2024-09-03 13:44:56 -07:00
parent ca13e35304
commit 16a835ed3d

View File

@@ -2253,9 +2253,7 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
goto fail_fd;
}
if (devinfo.ver == 20) {
mesa_logw("Vulkan not yet supported on %s", devinfo.name);
} else if (devinfo.ver > 12) {
if (devinfo.ver > 20) {
result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
"Vulkan not yet supported on %s", devinfo.name);
goto fail_fd;