summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2022-09-08 01:37:04 -0700
committerJordan Justen <jordan.l.justen@intel.com>2023-09-27 02:13:42 -0700
commit751f7d9d4b909cb80d3dcd2fd0f73a01eea3d2ed (patch)
treebc895ab64b62f39ff5ec89ad87e19afc9c2e563e
parent2cf54db8ac30db8906c7d786d90b496a588af978 (diff)
anv: Print warning that Xe2 is not supported rather than failingxe2-build-anvil-iris
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--src/intel/vulkan/anv_device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 583930ea701..b83d38bec6e 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1259,7 +1259,9 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
goto fail_fd;
}
- if (devinfo.ver > 12) {
+ if (devinfo.ver == 20) {
+ mesa_logw("Vulkan not yet supported on %s", devinfo.name);
+ } else if (devinfo.ver > 12) {
result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
"Vulkan not yet supported on %s", devinfo.name);
goto fail_fd;