anv: don't assert on device init on Cannonlake
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 20 Oct 2017 17:49:30 +0000 (18:49 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 21 Oct 2017 01:37:33 +0000 (02:37 +0100)
v2: Warn that support is still in alpha (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c

index a305afebc32d28575ca94df1cb4cb4223a8d0dc4..67028e8da9f8a0a041f7d180e6c8f9e6706082e1 100644 (file)
@@ -300,8 +300,10 @@ anv_physical_device_init(struct anv_physical_device *device,
    } else if (device->info.gen == 7 && device->info.is_baytrail) {
       intel_logw("Bay Trail Vulkan support is incomplete");
    } else if (device->info.gen >= 8 && device->info.gen <= 9) {
-      /* Broadwell, Cherryview, Skylake, Broxton, Kabylake is as fully
-       * supported as anything */
+      /* Broadwell, Cherryview, Skylake, Broxton, Kabylake, Coffelake is as
+       * fully supported as anything */
+   } else if (device->info.gen == 10) {
+      intel_logw("Cannonlake Vulkan support is alpha");
    } else {
       result = vk_errorf(device->instance, device,
                          VK_ERROR_INCOMPATIBLE_DRIVER,